summary refs log tree commit diff stats
path: root/lib/js
Commit message (Collapse)AuthorAgeFilesLines
* Add missing dom.nim things (#14944)treeform2020-07-091-2/+30
|
* Add jsre (#14870)Juan Carlos2020-07-031-0/+43
|
* Clean out dom (#14855)Juan Carlos2020-06-301-4/+0
| | | | | * Clean out dom * Clean out dom
* Add all missing css properties to dom.nim. (#14825)treeform2020-06-261-4/+270
| | | | | * Add all missing css properties * remove extra space
* Add hasAttribute method to dom.nim. (#14814)treeform2020-06-251-0/+1
| | | See: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute
* Export fields from the Selection object. (#14752)treeform2020-06-211-0/+7
| | | See: https://developer.mozilla.org/en-US/docs/Web/API/Selection
* Add css white-space property to dom.nim. (#14743)treeform2020-06-211-0/+1
| | | https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
* Add clipPath to dom.nim. (#14435)treeform2020-05-241-1/+2
| | | Just adds a single new css atribute, see: https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path .
* Add missing attributes and methods to JavaScript DOM (#14428)Mildred Ki'Lya2020-05-221-0/+14
| | | | | | | | | | | | | | | | | - content attribute to access HTML template element: https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement/content - ownerDocument to access the owning document from a DOM Node: https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument - outerHTML to get/set the outer HTML representation of a Node: https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument - createComment() to create comment Nodes: https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment - querySelector() and querySelectorAll() on Nodes: https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll
* fixes a bug reported in https://forum.nim-lang.org/t/6361 (#14422)Andreas Rumpf2020-05-211-31/+31
|
* move since from inclrtl to std/private/since (#14188)hlaaftana2020-05-021-1/+1
| | | | * move since from inclrtl to std/private/since * move since import in system below for HCR
* add FileReader Web API to js dom (#14105)cooldome2020-04-271-9/+59
| | | | | * add FileReader to js dom * minor improvement Co-authored-by: cooldome <ariabushenko@bk.ru>
* Fixes #14110 (#14111)Jae Yang2020-04-251-1/+1
| | | Fixes jsffi usage example in doc
* changed type() to typeof() in docs and error messages (#14084)hlaaftana2020-04-241-1/+1
|
* Fix the getSelection method. (#13632)treeform2020-04-211-1/+8
|
* fix newDomParser (#13981)Timothee Cour2020-04-161-1/+1
|
* Add jsdomparser (#13920)Juan Carlos2020-04-131-1/+18
| | | | | | | | | | | | | | | | | * Add jsdomparser * Add jsdomparser * Add jsdomparser * https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142 * https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142 * https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142 * https://github.com/nim-lang/Nim/pull/13920#discussion_r405932909 * https://github.com/nim-lang/Nim/pull/13920#discussion_r406502592
* 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
|