Skip to content

Commit

Permalink
Updated version in files to 0.4.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw committed Sep 5, 2018
1 parent ef02954 commit 657d963
Show file tree
Hide file tree
Showing 16 changed files with 36,362 additions and 36,348 deletions.
28 changes: 16 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# Changelog


> 0.4.11 "Lawdar" (xx.11.2018)

## 0.4.10 "Maoshk" (04.10.2018)

- Add: xlsxml files with multiple sheets
## 0.4.11 "Lawdar" (05.10.2018)

* Add: Specified XLSX sheet without knowing the name


## 0.4.10 "Maoshk" (04.10.2018)


* Add: xlsxml files with multiple sheets


## 0.4.9 "Alsalfiah" (05.08.2018)

* Better: Error message grammar
* Better: Support for Meteor code standards
* Fix: dbprecision for select query
* Fix: Handle promise error when reading one line csv files
* Fix: AUTO_INCREMENT when using local storage

* Better: Error message grammar
* Better: Support for Meteor code standards
* Fix: dbprecision for select query
* Fix: Handle promise error when reading one line csv files
* Fix: AUTO_INCREMENT when using local storage

## 0.4.8 "Nafhan" (14.07.2018)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
"bin",
"lib"
],
"version": "0.4.10"
"version": "0.4.11"
}
34 changes: 17 additions & 17 deletions dist/alasql-echo.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Plugin sample

var yy = alasql.yy;

yy.Echo = function (params) { return yy.extend(this, params); }
yy.Echo.prototype.toString = function() {
var s = 'TEST '+this.expr.toString();
return s;
}

yy.Echo.prototype.execute = function (databaseid, params, cb) {
// var self = this;
// console.log(76336,this.expr.toJS());
var fn = new Function('params, alasql','return '+this.expr.toJS());
var res = fn(params, alasql);
if(cb) res = cb(res);
return res;
// Plugin sample

var yy = alasql.yy;

yy.Echo = function (params) { return yy.extend(this, params); }
yy.Echo.prototype.toString = function() {
var s = 'TEST '+this.expr.toString();
return s;
}

yy.Echo.prototype.execute = function (databaseid, params, cb) {
// var self = this;
// console.log(76336,this.expr.toJS());
var fn = new Function('params, alasql','return '+this.expr.toJS());
var res = fn(params, alasql);
if(cb) res = cb(res);
return res;
}
78 changes: 39 additions & 39 deletions dist/alasql-prolog.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
// Prolog plugin

var yy = alasql.yy;

yy.Term = function (params) { return yy.extend(this, params); }
yy.Term.prototype.toString = function() {
var s = this.termid;
if(this.args && this.args.length > 0) {
s += '('+this.args.map(function(arg){
return arg.toString();
})+')';
}
return s;
};

yy.AddRule = function (params) { return yy.extend(this, params); }
yy.AddRule.prototype.toString = function() {
var s = '';
if(this.left) s += this.left.toString();
s += ':-';
s += this.right.map(function(r){return r.toString()}).join(',');
return s;
};

yy.AddRule.prototype.execute = function (databaseid, params, cb) {
// var self = this;
// console.log(this.expr.toJS());
// var fn = new Function('params, alasql','return '+this.expr.toJS());
// var res = fn(params, alasql);
var res = 1;
var objects = alasql.databases[databaseid].objects;
var rule = {};
if(!this.left) {
this.right.forEach(function(term){
rule.$class = term.termid;
});
}
if(cb) res = cb(res);
return res;
// Prolog plugin

var yy = alasql.yy;

yy.Term = function (params) { return yy.extend(this, params); }
yy.Term.prototype.toString = function() {
var s = this.termid;
if(this.args && this.args.length > 0) {
s += '('+this.args.map(function(arg){
return arg.toString();
})+')';
}
return s;
};

yy.AddRule = function (params) { return yy.extend(this, params); }
yy.AddRule.prototype.toString = function() {
var s = '';
if(this.left) s += this.left.toString();
s += ':-';
s += this.right.map(function(r){return r.toString()}).join(',');
return s;
};

yy.AddRule.prototype.execute = function (databaseid, params, cb) {
// var self = this;
// console.log(this.expr.toJS());
// var fn = new Function('params, alasql','return '+this.expr.toJS());
// var res = fn(params, alasql);
var res = 1;
var objects = alasql.databases[databaseid].objects;
var rule = {};
if(!this.left) {
this.right.forEach(function(term){
rule.$class = term.termid;
});
}
if(cb) res = cb(res);
return res;
};
Loading

0 comments on commit 657d963

Please sign in to comment.