Gandalf-the-Bot
021ef90455
Bundled output for commit 7cbc15e7a2 [skip ci]
2018-11-29 01:12:39 +00:00
Isiah Meadows
7cbc15e7a2
Fix m.request/m.jsonp to not mutate arguments, simplify code ( #2288 )
...
I basically recast it to remove 99% of the duplication. They're
basically the same function mod how they fire their requests and append
query parameters.
2018-11-28 20:10:46 -05:00
Andrew Miracle
eee2c1b032
Create an Issues Submission Page Enhancement ( #2271 )
...
* create and Issue Template Directory with a Bug Report Template File derived from moved ISSUE_TEMPLATE FILE
* create a Feature Request Template
* Update .github/ISSUE_TEMPLATE/Bug_report.md
Fix naming issue
Co-Authored-By: koolamusic <8960757+koolamusic@users.noreply.github.com>
2018-11-28 14:47:27 -05:00
Isiah Meadows
7d8a889506
Fix docs bug, advise against reusing vnode.attrs itself ( #2250 )
...
* Fix docs bug, advise against reusing `vnode.attrs` itself [skip ci]
* Be consistent + correct with commas [skip ci]
* Be consistent with spacing [skip ci]
* Discard the unused parameters [skip ci]
* Kill an opinion, slim down the example [skip ci]
2018-11-28 09:19:52 +01:00
Gandalf-the-Bot
50fb2370bc
Bundled output for commit 4a641092dc [skip ci]
2018-11-27 23:06:31 +00:00
Isiah Meadows
4a641092dc
Officially drop IE9-10 support, pull out our hacks ( #2296 )
...
- I also fixed a bunch of related comments
- I had to polyfill `requestAnimationFrame` for Node
- Drive-by: run `eslint . --fix`
- Drive-by: update transpiling info in CONTRIBUTING.md
- Drive-by: we aren't the only ones going semicolon-free
2018-11-27 18:04:15 -05:00
Isiah Meadows
a8473e63c9
Reverse hook order for all but onbeforeupdate ( #2297 )
...
- Drive-by: `onbeforeupdate` prevents subtree redraw if *either* hook
returns `false`, not *both*.
2018-11-27 18:02:48 -05:00
Isiah Meadows
c33621cd52
Simplify bundler a little ( #2290 )
...
- Remove a useless abstraction
- Remove a useless write + read
- Only read when generating the bundle
- Use one watcher instead of two
- Use Chokidar to simplify and make for a better experience
2018-11-27 18:02:35 -05:00
Isiah Meadows
a96caf25c5
Fix #1908 , document fields. [skip ci] ( #2314 )
2018-11-27 18:02:08 -05:00
Lukas Drgon
a2bf713e00
Add alternative CDN ( #2018 )
...
* Add alternative CDN
* Update README.md
Co-Authored-By: LukasDrgon <lukas.drgon@gmail.com>
2018-11-27 22:09:50 +01:00
Rasmus Porsager
58c86f7546
Rewrite stream ( #2207 )
...
* Rewrite stream
* Rename HALT to SKIP
* Rename HALT to SKIP
* Remove valueOf and toString
* Update docs for HALT to SKIP
* Rename halt to skip in test
* Add test for combining nested streams atomically
* Update change-log.md
* Test basic SKIP
* Add deprecated HALT
* Combine continues with ended streams
* Fix fantasy-land/of to match spec
* Don't use arrow function
* Improve scan description
* Fix merge artifact
2018-11-27 15:11:24 -05:00
Isiah Meadows
5e7528fefd
Re-add myself as a code owner [skip ci]
2018-11-27 13:23:08 -05:00
Gandalf-the-Bot
42919cdf91
Bundled output for commit 7c299ab48c [skip ci]
2018-11-26 14:41:50 +00:00
Rasmus Porsager
7c299ab48c
Allow css vars with uppercase characters ( #2311 )
...
* Allow css vars with uppercase characters
* Remove charAt
* Extract dash lowercase lambda
* Extract match uppercase regex
* Set key and value correctly in updateStyle
* Fix domMock style to work like the browser
2018-11-26 09:40:08 -05:00
Gandalf-the-Bot
87033bf1e0
Bundled output for commit 4c5968a526 [skip ci]
2018-11-26 10:51:03 +00:00
Barney Carroll
4c5968a526
Fix #2192 ( #2308 )
...
* Fix #2192
* Fix mock style property definitions
* Re-instate camelCased style property key declaration support
* Fix removeProperty, eslint fix
* Stringify style keys: fix perf tests
* Fix weird uncaught mixed whitespace
* Fix weird uncaught mixed whitespace
2018-11-26 05:49:16 -05:00
Gandalf-the-Bot
d1c090efb7
Bundled output for commit 421474c0e2 [skip ci]
2018-11-24 13:15:33 +00:00
Rasmus Porsager
421474c0e2
Cast className using toString ( #2309 )
...
* Cast className using toString
* Add to change-log
2018-11-24 08:13:56 -05:00
Robin (Robert) Thomas
b5219920ab
Ospec: expose messages for passing tests, in addition to failing tests ( #2227 )
...
* ospec: all results, failing and passing, include .message and .context
Previously only failing tests had .message and .context.
* Updated docs
* Function was ugly
* Ospec verbose passing tests: put changelog update in right place
2018-11-21 15:47:10 -05:00
Robin (Robert) Thomas
0fd1bc9cae
Add 'throws'/'notThrows' assertion to Ospec for error reporting ( #2255 )
...
* Ospec: added assertion that function does/doesnt throw error
* Ospec.throws passes npm test
* Ospec.throws: Address requested changes
* Ospec: message comparison support for .throws/.notthrows
Credit to @maranomynet, #2227
2018-11-21 15:46:34 -05:00
spacejack
22427db882
Update/improve 3rd party integration docs ( #2306 )
...
* Add noUiSlider example
* Rewrite FullCalendar example
2018-11-21 15:45:42 -05:00
Saravyas
d66b7f6c0d
readme updated for npm installation ( #2303 )
...
* readme updated for npm installation
* change request
2018-11-19 02:57:12 -05:00
Boaz Blake
bf1afa06fd
adding missing anchor ( #2305 )
2018-11-19 02:34:20 -05:00
Marco Bolis
52f81ff569
Fix parentheses in link ( #2300 )
2018-11-15 12:34:02 -05:00
Scotty Simpson
52ccea2cad
Component docs update: an effective compromise re: state & syntactic variance ( #2294 )
...
* Update components.md
* Update components.md
* Update components.md
* Update components.md
* Update docs/components.md
Co-Authored-By: CreaturesInUnitards <portrayme@mac.com>
* Update docs/components.md
Co-Authored-By: CreaturesInUnitards <portrayme@mac.com>
* Update docs/components.md
Co-Authored-By: CreaturesInUnitards <portrayme@mac.com>
* teeny clarification
* reasonably compromised language, I think
2018-11-14 19:38:25 -05:00
Gandalf-the-Bot
749f54d7cf
Bundled output for commit 4d579c50b6 [skip ci]
2018-11-15 00:28:11 +00:00
Isiah Meadows
4d579c50b6
Revert "Fix #1771 and probably others ( #2286 )" ( #2299 )
...
4f68984f2f
2018-11-14 19:26:23 -05:00
Gandalf-the-Bot
8f7d85b0c9
Bundled output for commit 638d72481c [skip ci]
2018-11-14 20:50:41 +00:00
Isiah Meadows
638d72481c
Update the changelog
...
- I missed that part when reviewing #2194
2018-11-14 15:49:05 -05:00
Rasmus Porsager
c3896b92e6
output mithril, stream and ospec esm versions on build - fixes #2112 ( #2194 )
...
* output mithril, stream and ospec esm versions on build
* Add esm bundles
* [request] Clearer error message for JSON deserialization failure (#2195 )
* Bundled output for commit fd7cf8041e [skip ci]
* Fix #1714 conditionally halting stream (#2200 )
* Fix #1714 conditionally halting stream
* Add note in changelog
* Do not include stream as named export in mithril.esm.js
* Rename mithril.min.esm.js to mithril.esm.min.js
* Add esm files to eslintignore
* Add named exports
* Add hyperscript `m` as named export
* Add builds with export changes
* checkout regular bundled files
* Change .esm.js to .mjs
* Update pkg module to point to .mjs
* Fix for export names to avoid collision
* Updated bundled files
2018-11-14 15:37:08 -05:00
Gandalf-the-Bot
0d36d0db85
Bundled output for commit 4f68984f2f [skip ci]
2018-11-14 20:36:41 +00:00
Isiah Meadows
4f68984f2f
Fix #1771 and probably others ( #2286 )
...
This is *super* subtle, and IMHO Chrome did exactly the wrong thing
here.
2018-11-14 15:35:00 -05:00
spacejack
76e585c523
Add Stream.lift ( #1950 )
...
* Add stream.lift and tests
* Add docs
* Add to change-log
2018-11-13 18:55:45 -05:00
spacejack
a147023f4e
Docs - prioritize closure components for state ( #2292 )
...
* Emphasize closure components in components.md
* Use closure components for all stateful component examples
* Add change-log entry
* Edits and separate sections for closure, class & POJO state
2018-11-13 01:04:04 -05:00
Gandalf-the-Bot
4ac33fa483
Bundled output for commit 232ff597a6 [skip ci]
2018-11-09 18:56:56 +00:00
Isiah Meadows
232ff597a6
Switch to Terser ( #2289 )
...
1. It's actually supported
2. It's less buggy
https://twitter.com/dan_abramov/status/1060216917493981184
2018-11-09 13:55:25 -05:00
Miguel Espinoza
561b13c8a4
Add example for m.route.set with params ( #2229 )
...
Add example on how to use m.route.set with params
2018-11-07 18:47:49 -05:00
Gandalf-the-Bot
19ac08c7bc
Bundled output for commit d6489e3b3f [skip ci]
2018-11-07 23:44:25 +00:00
Pierre-Yves Gérardy
d6489e3b3f
Merge #2075 into next ( #2175 )
...
* fix: Access document.activeElement through a function that eats errors for IE (#2075 )
* test: inline iframe.js so ospec doesn't try to run it
2018-11-07 18:42:50 -05:00
Isiah Meadows
b0030047a7
Update Travis script [skip ci]
...
- Update to use my API key
- Don't try to auto-publish pre-releases
2018-11-07 13:21:09 -05:00
Isiah Meadows
1f18506de6
v2.0.0-rc.1
2018-11-07 12:37:22 -05:00
Gandalf-the-Bot
7140c483c6
Bundled output for commit 6042b001f0 [skip ci]
2018-11-07 17:20:53 +00:00
Isiah Meadows
6042b001f0
Add m.prop ( #2268 )
...
Fixes #2095
2018-11-07 12:18:55 -05:00
Gandalf-the-Bot
75626b30db
Bundled output for commit 843d7ad454 [skip ci]
2018-11-06 20:51:09 +00:00
Scotty Simpson
843d7ad454
Abandon Closure Compiler in favor of UglifyES ( #2285 )
...
Moved to UglifyES, ditched async cruft, clarified responsibilities between cli & minify.
Makes for faster, more reliable, synchronous, non-Google-reliant minification.
2018-11-06 15:48:48 -05:00
Scotty Simpson
9d2586df9c
remove redundant changelogs for 1.1.4-6 ( #2277 )
2018-11-02 23:51:21 -04:00
Gandalf-the-Bot
ed3faf4fad
Bundled output for commit a73c157dff [skip ci]
2018-10-28 22:04:44 +00:00
makibishi
a73c157dff
refactor: Vnode.normalizeChildren to anonymous function ( #2208 )
2018-10-28 18:02:32 -04:00
Gandalf-the-Bot
761de0908b
Bundled output for commit ea0ce7f762 [skip ci]
2018-10-28 21:19:11 +00:00
spacejack
ea0ce7f762
Store normalized vnodes in the dom element. Add render tests. ( #2266 )
...
* Store normalized vnodes in the dom element. Add render tests.
* Add entry to change-log
2018-10-28 17:17:24 -04:00