Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
agershun committed Dec 22, 2014
1 parent 7658095 commit 1ef34a5
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions alasql.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions alasql.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions console/alasql.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/alasql.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/alasql.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/55functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ yy.FuncValue.prototype.toString = function() {
var s = '';

if(alasql.fn[this.funcid]) s += this.funcid;
else if(alasql.stdlib[this.funcid] || alasql.stdfn[this.funcid]) s += this.funcid.toUpperCase();
else if(alasql.stdlib[this.funcid.toUpperCase()] || alasql.stdfn[this.funcid.toUpperCase()]) s += this.funcid.toUpperCase();

s += '(';
if(this.args && this.args.length > 0) {
Expand Down Expand Up @@ -50,7 +50,7 @@ yy.FuncValue.prototype.toJavaScript = function(context, tableid, defcols) {
}
} else if(alasql.stdfn[funcid.toUpperCase()]) {
if(this.newid) s+= 'new ';
s += 'alasql.stdfn.'+this.funcid+'(';
s += 'alasql.stdfn.'+this.funcid.toUpperCase()+'(';
// if(this.args) s += this.args.toJavaScript(context, tableid);
if(this.args && this.args.length > 0) {
s += this.args.map(function(arg){
Expand Down

0 comments on commit 1ef34a5

Please sign in to comment.