summary refs log tree commit diff stats
path: root/lib/js
Commit message (Collapse)AuthorAgeFilesLines
* Jsconsole update (#12448)Juan Carlos2020-04-021-35/+36
| | | | | | * Improve jsconsole adding the rest of the stable api as documented on the standard at https://developer.mozilla.org/docs/Web/API/Console * Improve jsconsole, add runnableexamples * Simplify jsconsole
* Add more JS stuff to dom.nim (#13483)treeform2020-03-111-26/+45
| | | | | | | | | | | | | | | * Add more JS stuff to dom.nim * Make all links to docs doc comments. * Fix minor textContent * space. * Remove Selection object. * More work on docs. * Fixing links. * Made the links be "see <docs>".
* scrollTop must be settable (#13263)Jairo2020-01-271-0/+1
| | | | | | | | * scrollTop must be assignable Make scrollTop settable * add missing export
* Add "origin" to window.location (#13251)Jairo2020-01-241-0/+1
| | | Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
* Fix many broken linksJjp1372019-10-222-2/+2
| | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol.
* Improve jsconsole adding the rest of the stable api as documented on the ↵Juan Carlos2019-10-171-1/+26
| | | | standard at https://developer.mozilla.org/docs/Web/API/Console (#12440)
* JS: gensym is stricter for 'this'; refs #12246 [backport]Araq2019-09-301-1/+1
|
* importjs symbol (#12218)Arne Döring2019-09-201-4/+4
| | | | | * importjs symbol * importjs warning message, minor warning fixes
* fix failing JS testsnarimiran2019-07-221-1/+0
|
* Add `opacity` to JS `Style`Benjamin Summerton2019-07-211-0/+2
| | | I noticed this was missing. It has cross browser support: https://developer.mozilla.org/en-US/docs/Web/CSS/opacity#Browser_compatibility
* libffi: style changesAraq2019-06-191-50/+50
|
* Fix header inconsistencies in documentation (#11071)Zed2019-04-231-1/+1
|
* some dom proc correction and complement (#10684)liuxiaodong2019-02-151-4/+9
|
* DOM module: re-add more missing stuffAraq2019-02-081-1/+36
|
* DOM module: add more missing stuffAraq2019-02-071-0/+3
|
* DOM.nim: fix regression, missing procsAraq2019-02-061-0/+2
|
* DOM API: make compatible with Karax's requirements (#10517)Andreas Rumpf2019-02-021-130/+759
| | | | | * DOM API: make compatible with Karax's requirements * make tools\dochack.nim compile again
* Remove long deprecated stuff (#10332)Miran2019-01-181-28/+2
|
* Times cosmetic changes (#10237)Oscar Nihlgård2019-01-101-1/+11
| | | | | | | | | | * Add more Date wrappers to jscore * Times cosmetic changes - Improved docs - Code wrapped at 80 chars - Formatting fixes using nimpretty - Remove some old deprecated procs
* Support undefined in isNil (#9960)Alexander Ivanov2018-12-301-0/+6
|
* Support only some types as JsAssoc types (#8627)Alexander Ivanov2018-11-231-33/+34
|
* Try/Catch support for native JS exceptions (#8955)LemonBoy2018-10-091-0/+11
| | | | | | * Try/Catch support for native JS exceptions * Better tests
* Minor fixes for asyncjs (#8894)LemonBoy2018-09-071-4/+12
| | | | | | | | | | * Minor fixes for asyncjs Mark internal procedures as used Allow .async. for more node kinds Make .async. work for nkStmtList * Fix logic error in both the async macros
* Exports dom.Style (#8444)Dominik Picheta2018-09-011-1/+1
|
* Remove broken push pragma from jscore (#8414)Oscar Nihlgård2018-08-171-54/+59
|
* Replace NotString with typeclass in jsffi (#8128)hlaaf2018-06-271-4/+2
|
* Adds TextAreaElement type.Dominik Picheta2018-05-141-1/+7
|
* Adds onpopstate and proc related to Events to dom module.Dominik Picheta2018-05-141-0/+3
|
* rename SomeReal to SomeFloat (#7617)Arne Döring2018-04-151-7/+7
| | | | | * rename SomeReal to SomeFloat * added changelog entry
* Support code hot reloading for JavaScript projects (#7362)zah2018-04-132-6/+109
| | | | | | | | | | | | | | | | | | | | | | * Support code hot reloading for JavaScript projects * Add some missing JavaScript symbols and APIs * fix the Travis build * (review changes) remove the js type from the standard library as it doesn't follow NEP-1 * more additions to the DOM module * Follow NEP-1 in jsffi; spell 'hot code reloading' correctly * introduce a jscore module * Document jscore module. * readded js type * Remove the '$' operator that doesn't behave
* Add some missing things to dom.nimtreeform2018-03-291-0/+44
| | | Add window.performance, window.performance.now(), window.devicePixelRatio, window.scrollX and Y, style.overflowX and Y, node.getBoundingRect.
* Use addPragmaAlexander Ivanov2018-03-051-5/+1
|
* Stop replacing all pragmas of a function with asyncjsAlexander Ivanov2018-03-031-1/+6
|
* Fix return (#7225)Alexander Ivanov2018-02-271-6/+8
|
* Merge pull request #7023 from yglukhov/unify-asyncDominik Picheta2018-01-171-0/+4
|\ | | | | Unify async macro and futures for js and native targets
| * Unify async macro and futures for js and native targetsYuriy Glukhov2018-01-051-0/+4
| |
* | Use generic for 'stateObject' in func 'pushState'Renaud Chénard2018-01-141-1/+1
| |
* | add missing methods in js backendgrazil2018-01-111-1/+2
|/
* Fix docs!Alexander Ivanov2017-12-201-2/+2
|
* Fix forwardAlexander Ivanov2017-12-191-13/+18
|
* Make asyncjs Future[void] play nicely with last line discardable callsAlexander Ivanov2017-12-191-3/+29
|
* added asyncjs standard library module (#6841)Alexander Ivanov2017-12-191-0/+110
|
* Small fix for js domkonqoro2017-12-131-2/+2
|
* 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
|