summary refs log tree commit diff stats
path: root/lib/js
Commit message (Expand)AuthorAgeFilesLines
* 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
* Support code hot reloading for JavaScript projects (#7362)zah2018-04-132-6/+109
* Add some missing things to dom.nimtreeform2018-03-291-0/+44
* 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 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
* allow StmtLists to pass through semExprWithTypeZahary Karadjov2017-04-111-4/+1
* lift parameter-less do block to lambdasZahary Karadjov2017-04-101-2/+8
* improve the usability of the jsffi moduleZahary Karadjov2017-04-091-6/+56
* 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
* 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
i">1][:len(args[1])-1] } n, err = strconv.Atoi(args[1]) if err != nil { return nextPrevMessageUsage(args[0]), 0, false } } return nil, n, pct } func ExecuteNextPrevMessage(args []string, acct *widgets.AccountView, pct bool, n int) error { if pct { n = int(float64(acct.Messages().Height()) * (float64(n) / 100.0)) } if args[0] == "prev-message" || args[0] == "prev" { store := acct.Store() if store != nil { store.NextPrev(-n) acct.Messages().Scroll() } } else { store := acct.Store() if store != nil { store.NextPrev(n) acct.Messages().Scroll() } } return nil } func nextPrevMessageUsage(cmd string) error { return errors.New(fmt.Sprintf("Usage: %s [<n>[%%]]", cmd)) }