Jae Yang
20e5173cca
Fixes #14110 ( #14111 )
...
Fixes jsffi usage example in doc
(cherry picked from commit 362c8964bf )
2020-04-26 07:28:03 +02:00
Jjp137
dedff71ca0
Fix many broken links
...
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.
(cherry picked from commit 93461aee34 )
2019-10-24 14:10:46 +02:00
Araq
1e97abec96
JS: gensym is stricter for 'this'; refs #12246 [backport]
...
(cherry picked from commit 63bcbea700 )
2019-09-30 18:43:35 +02:00
Arne Döring
38ab51c445
importjs symbol ( #12218 )
...
* importjs symbol
* importjs warning message, minor warning fixes
2019-09-20 20:26:30 +02:00
narimiran
30f2cec671
fix failing JS tests
2019-07-22 11:41:20 +02:00
Benjamin Summerton
46f2271968
Add opacity to JS Style
...
I noticed this was missing. It has cross browser support: https://developer.mozilla.org/en-US/docs/Web/CSS/opacity#Browser_compatibility
2019-07-21 23:15:36 +01:00
Araq
ff89f7e33a
libffi: style changes
2019-06-19 16:54:34 +02:00
Zed
3b4952da94
Fix header inconsistencies in documentation ( #11071 )
2019-04-23 08:40:20 +02:00
liuxiaodong
2610b16f6e
some dom proc correction and complement ( #10684 )
2019-02-15 17:43:22 +01:00
Araq
8bc7c50c86
DOM module: re-add more missing stuff
2019-02-08 12:18:42 +01:00
Araq
3dc270eee5
DOM module: add more missing stuff
2019-02-07 15:04:05 +01:00
Araq
b5991f52b9
DOM.nim: fix regression, missing procs
2019-02-06 15:37:32 +01:00
Andreas Rumpf
17d0ce9c1c
DOM API: make compatible with Karax's requirements ( #10517 )
...
* DOM API: make compatible with Karax's requirements
* make tools\dochack.nim compile again
2019-02-02 00:21:13 +01:00
Miran
214f48eae9
Remove long deprecated stuff ( #10332 )
2019-01-18 07:18:32 +01:00
Oscar Nihlgård
b3435d22dc
Times cosmetic changes ( #10237 )
...
* 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
2019-01-10 10:56:12 +01:00
Alexander Ivanov
aadbdd6b06
Support undefined in isNil ( #9960 )
2018-12-30 02:48:37 +01:00
Alexander Ivanov
88d707cb88
Support only some types as JsAssoc types ( #8627 )
2018-11-23 15:05:15 +01:00
LemonBoy
a3fb0a769c
Try/Catch support for native JS exceptions ( #8955 )
...
* Try/Catch support for native JS exceptions
* Better tests
2018-10-09 19:51:29 +02:00
LemonBoy
90025e242d
Minor fixes for asyncjs ( #8894 )
...
* 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
2018-09-07 16:42:38 +02:00
Dominik Picheta
d06da9ccf0
Exports dom.Style ( #8444 )
2018-09-01 00:24:09 +02:00
Oscar Nihlgård
b77d910e4e
Remove broken push pragma from jscore ( #8414 )
2018-08-17 11:11:55 +02:00
hlaaf
9ed671b2fe
Replace NotString with typeclass in jsffi ( #8128 )
2018-06-27 21:43:45 +02:00
Dominik Picheta
6b5ad56ab3
Adds TextAreaElement type.
2018-05-14 13:03:18 +02:00
Dominik Picheta
5fcfc43a20
Adds onpopstate and proc related to Events to dom module.
2018-05-14 13:03:18 +02:00
Arne Döring
efae366857
rename SomeReal to SomeFloat ( #7617 )
...
* rename SomeReal to SomeFloat
* added changelog entry
2018-04-15 19:59:11 +02:00
zah
e3037a2f33
Support code hot reloading for JavaScript projects ( #7362 )
...
* 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
2018-04-13 19:08:43 +02:00
treeform
577025c319
Add some missing things to dom.nim
...
Add window.performance, window.performance.now(), window.devicePixelRatio, window.scrollX and Y, style.overflowX and Y, node.getBoundingRect.
2018-03-29 05:31:19 -07:00
Alexander Ivanov
b6c69dd45e
Use addPragma
2018-03-05 10:28:17 +02:00
Alexander Ivanov
3bffbf5a4d
Stop replacing all pragmas of a function with asyncjs
2018-03-03 16:53:28 +02:00
Alexander Ivanov
9c7374abcd
Fix return ( #7225 )
2018-02-27 15:23:19 +01:00
Dominik Picheta
b754bfabb6
Merge pull request #7023 from yglukhov/unify-async
...
Unify async macro and futures for js and native targets
2018-01-17 15:06:32 +00:00
Renaud Chénard
a2b7fcdb4d
Use generic for 'stateObject' in func 'pushState'
2018-01-14 23:12:59 +01:00
grazil
d5cd8e6f71
add missing methods in js backend
2018-01-11 14:16:48 +01:00
Yuriy Glukhov
c93655e8b4
Unify async macro and futures for js and native targets
2018-01-05 16:40:51 +02:00
Alexander Ivanov
eba544996d
Fix docs!
2017-12-20 14:11:22 +02:00
Alexander Ivanov
b3dfc93bee
Fix forward
2017-12-19 20:50:37 +02:00
Alexander Ivanov
7f6afa9e9b
Make asyncjs Future[void] play nicely with last line discardable calls
2017-12-19 13:57:37 +02:00
Alexander Ivanov
a9ba02e8c9
added asyncjs standard library module ( #6841 )
2017-12-19 00:34:54 +01:00
konqoro
422c117a77
Small fix for js dom
2017-12-13 16:14:01 +02:00
Andreas Rumpf
33814cf63e
language change: change how the experimental dot operators work
2017-11-29 13:31:31 +01:00
Andreas Rumpf
414e7eff04
make tests green again
2017-09-26 23:07:37 +02:00
Zahary Karadjov
7ad115f530
Restore the old behavior of parsing "quote do:"
...
close #5845
2017-08-19 08:57:43 +02:00
Zahary Karadjov
03770daba4
allow StmtLists to pass through semExprWithType
...
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.
2017-04-11 02:22:13 +03:00
Zahary Karadjov
a3f19c87fb
lift parameter-less do block to lambdas
2017-04-10 23:58:05 +03:00
Zahary Karadjov
48a1a54d1c
improve the usability of the jsffi module
...
* All JavaScript operators are usable with JsObject
* The dot operators will use native JavaScript strings
* Results returned from dot calls are consired discardable
2017-04-09 23:04:55 +03:00
Dominik Picheta
28f3b3d3a7
Add some extra methods and fields to DOM module.
2017-04-06 21:16:17 +02:00
Dominik Picheta
172a9c8e97
Implement touch event types/procs in DOM module.
2017-03-27 21:14:06 +02:00
Dominik Picheta
f2ca6021dc
Implement requestAnimationFrame and cancelAnimationFrame in dom module.
2017-03-23 21:34:32 +01:00
Michael Jendrusch
536015ee7b
Implement RFC #4873 improvements to JavaScript FFI ( #5213 )
2017-01-26 00:07:30 +01:00
Andrea Ferretti
f0308e9bcf
New version of js console using macros - avoid the use of .apply method
2016-10-06 11:35:29 +02:00