summary refs log tree commit diff stats
path: root/lib/js
Commit message (Collapse)AuthorAgeFilesLines
* language change: change how the experimental dot operators workAndreas Rumpf2017-11-291-11/+11
|
* make tests green againAndreas Rumpf2017-09-261-3/+3
|
* Restore the old behavior of parsing "quote do:"Zahary Karadjov2017-08-191-4/+3
| | | | close #5845
* allow StmtLists to pass through semExprWithTypeZahary Karadjov2017-04-111-4/+1
| | | | | | This fix was necessary in order to fix the lambda lifting used in the "jsffi" module, which relies on turning nkStmtList into nkLambda in a catch-all dot operator.
* lift parameter-less do block to lambdasZahary Karadjov2017-04-101-2/+8
|
* improve the usability of the jsffi moduleZahary Karadjov2017-04-091-6/+56
| | | | | | * All JavaScript operators are usable with JsObject * The dot operators will use native JavaScript strings * Results returned from dot calls are consired discardable
* Add some extra methods and fields to DOM module.Dominik Picheta2017-04-061-0/+11
|
* Implement touch event types/procs in DOM module.Dominik Picheta2017-03-271-0/+30
|
* Implement requestAnimationFrame and cancelAnimationFrame in dom module.Dominik Picheta2017-03-231-0/+2
|
* Implement RFC #4873 improvements to JavaScript FFI (#5213)Michael Jendrusch2017-01-261-0/+436
|
* New version of js console using macros - avoid the use of .apply methodAndrea Ferretti2016-10-061-4/+22
|
* Updated js console logging to avoid wrapping into arrayAndrea Ferretti2016-10-061-17/+4
|
* Update to allow varargs in js console loggingAndrea Ferretti2016-09-221-1/+8
|
* Added js console objectAndrea Ferretti2016-09-211-0/+32
|
* Added some useful JS procs to DOM module.Dominik Picheta2016-05-101-0/+5
|
* Dom refactoringYuriy Glukhov2015-11-251-133/+173
|
* Reverted all changesPerelandric2015-06-041-75/+69
|
* lib/js - Dropped 'T' from typespdw2015-06-041-69/+75
|
* Added body and head properties to document.yglukhov2015-04-291-0/+2
|
* DOM types renamed.yglukhov2015-04-061-51/+76
|
* Correct dom objects inheritance.yglukhov2015-04-011-89/+81
|
* Some additions to dom.nimd3m1gd2015-02-201-2/+18
| | | | Missing functions and fields for various dom elements/events.
* docgen should work againAraq2014-10-051-18/+18
|
* Some docgen fixes.Dominik Picheta2014-09-131-3/+3
|
* Nimrod renamed to NimAraq2014-08-281-1/+1
|
* Hyperlinks back JavaScript target.Grzegorz Adam Hankiewicz2014-06-211-1/+2
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* EcmaScript => JS. Fixes #330Simon Hafner2013-02-151-0/+451
No one calls it EcmaScript anymore.
ass="o">= n when false: let it = detectForLoopVar(body) if it == nil: error("no for loop in body", body) let v = newTree(nnkVarSection, newTree(nnkIdentDefs, res, newTree(nnkBracketExpr, bindSym"seq", newCall(bindSym"type", body)), newEmptyNode())) result = newTree(nnkStmtListExpr, v, t(body, res), res) #echo repr result let stuff = collect: var i = -1 while i < 4: inc i for it in data: if it < 5 and it > 1: it echo stuff echo collect(for i in 0..3: i)