Fixes.
This commit is contained in:
parent
fd2264d611
commit
965d94c636
|
|
@ -71,7 +71,7 @@ You can set any type which you want in current version , to tell you the truth i
|
|||
In ColaScript, like in CoffeScript, exists boolean-aliases:
|
||||
|
||||
yes == on == true;
|
||||
no == off == false
|
||||
no == off == false;
|
||||
|
||||
|
||||
### Strings
|
||||
|
|
@ -130,7 +130,7 @@ Most of array features were taken from CoffeeScript:
|
|||
Array arr = [0...10];
|
||||
|
||||
arr[0..2] = [584, 404]; // [584, 404, 3, 4, 5, 6, 7, 8, 9]
|
||||
console.log(arr[0..2]); // [584, 404]
|
||||
console.log(arr[0..2]); // [584, 404, 3]
|
||||
|
||||
one feature was taken from PHP:
|
||||
|
||||
|
|
|
|||
|
|
@ -1360,7 +1360,7 @@ Cola.Parser.prototype.function_ = function(ctor, type) {
|
|||
tmp = _this.expression(true);
|
||||
if ( ctor === Cola.AST_Defun ) {
|
||||
_this.semicolon();
|
||||
_this.next();
|
||||
//_this.next();
|
||||
}
|
||||
return tmp;
|
||||
})(),
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"description": "ColaScript translator / parser / mangler / compressor / beautifier toolkit",
|
||||
"homepage": "https://github.com/TrigenSoftware/ColaScript",
|
||||
"main": "tools/node.js",
|
||||
"version": "0.5.7",
|
||||
"version": "0.5.8",
|
||||
"engines": { "node" : ">=0.4.0" },
|
||||
"maintainers": [{
|
||||
"name": "Dan Onoshko (dangreen)",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user