Leo Horie
0c19bf72ee
Merge pull request #1037 from omakasecorp/next
...
Force redirect when pushState encounters an error
2016-05-11 11:53:36 -04:00
Leo Horie
dee64503db
#1039 ignore url interpolations without mapped values
2016-05-06 11:49:00 -04:00
Leo Horie
db17958f0b
#691 sync input if user-set DOM value
2016-05-05 13:12:36 -04:00
Adam Gschwender
6face740f5
Force redirect when pushState encounters an error
...
Version 9.1 of Safari allows a maximum of 100 calls to pushState.
Subsequent calls to pushState throw a SecurityError: DOM Exception 18:
An attempt was made to break through the security policy of the user
agent.
2016-05-04 20:25:35 -04:00
Gyandeep Singh
d451def561
Update: Big Perf improvement for IE ( fixes #199 )
2016-04-20 13:44:15 -05:00
Leo Horie
f226d56481
Merge remote-tracking branch 'origin/next' into next
2016-04-20 00:36:48 -04:00
Leo Horie
da586de7dc
don't swallow runtime errors in request
2016-04-20 00:35:53 -04:00
robinchew
4308b182ca
Traceur Support
...
traceur --script mithril-v0.2.3.js code-that-calls-m.js
2016-04-15 03:10:50 +08:00
Leo Horie
cb966d9088
don't throw reference error if event is synthetic and forgets to pass e arg
2016-04-13 15:32:58 -04:00
impinball
a07483a164
Actually lint core, regenerate minified files
2016-03-28 07:54:26 -04:00
Isiah Meadows
8f348435e4
Merge pull request #1002 from isiahmeadows/arg-fix
...
Serialize arguments correctly in m.component
2016-03-28 06:37:17 -04:00
impinball
07244b1999
Serialize arguments correctly in m.component
2016-03-28 06:28:51 -04:00
yuyang
82d65b076a
change new Array => []
2016-03-25 12:47:03 +08:00
Leo Horie
fcf6e16929
Merge pull request #975 from barneycarroll/empty-attrs-string
...
Empty attributes. Fixes #971
2016-03-19 22:36:32 -04:00
Isiah Meadows
806e0a8dc1
Merge pull request #973 from isiahmeadows/lint
...
Make linter happy with mithril.js
2016-03-17 23:56:13 -04:00
Leo Horie
64d1ce1d7d
Merge branch 'next' of github.com:lhorie/mithril.js into next
2016-03-16 01:07:07 -04:00
Leo Horie
96bf37588b
trailing semi-colon
2016-03-16 01:06:35 -04:00
Pat Cavit
eac505aead
Use for-loop to map arguments instead of slice
...
http://jsperf.com/arguments-slice-vs-for-loop-copy
2016-03-09 14:33:52 -08:00
Barney Carroll
10f30dfa2e
Remove redundant logic as per @niothiel's tip
2016-03-03 15:26:09 +00:00
Carroll
ea946f1a0e
Empty attributes. Fixes #971
2016-03-03 10:27:26 +00:00
impinball
9d02042d78
Make linter happy with Mithril.js
2016-03-02 16:27:08 -05:00
Leo Horie
79665d46f4
fix version string
2016-03-02 16:16:33 -05:00
Leo Horie
3aa3545236
Merge branch 'next' of github.com:lhorie/mithril.js into next
2016-02-25 20:27:06 -05:00
Leo Horie
58ef29e8d5
#931 prevent unloaders from being registered more than once
2016-02-25 20:27:01 -05:00
mar
3f09713583
Use object lookup instead of long condition chain
2016-02-18 19:55:37 +00:00
mar
01ff1a36fd
Use object lookup instead of long RegExp
...
Should be faster.
2016-02-18 19:47:38 +00:00
mar
3e4af6ff22
Use Array#slice to convert arguments to Array
2016-02-18 19:16:32 +00:00
mar
74062cda29
Parameterize URLs with a single String#replace
2016-02-18 18:53:45 +00:00
Már Örlygsson
7a184cb3b7
Use RegExp#test instead of String#match
...
Using `.test()` is both faster and more explicit.
2016-02-18 18:44:16 +00:00
Leo Horie
0682932f63
remove is attribute regular element creation
2016-01-29 16:27:09 -05:00
Leo Horie
4f0d479ee7
Merge branch 'lint' of https://github.com/isiahmeadows/mithril.js into isiahmeadows-lint
...
Conflicts:
mithril.js
tests/mithril-tests.js
2016-01-28 18:40:19 -05:00
Leo Horie
baa55cd262
fix onunload typo
2016-01-28 18:30:14 -05:00
Leo Horie
6b7ac83dde
Merge branch 'next' of github.com:lhorie/mithril.js into next
2016-01-27 11:22:26 -05:00
Leo Horie
3de5cb8aaf
allow string keys
2016-01-27 11:22:01 -05:00
impinball
0766d93bac
Lint Mithril itself
2016-01-22 16:25:55 -05:00
Jeff Shen
567d9ebd15
Cleaned up comment on line 557
...
Fixed subject-verb agreement
2016-01-21 14:53:44 -08:00
Leo Horie
e32f37c523
Merge pull request #923 from iamjohnlong/safari-createContextualFragment-fix
...
Moves createContextualFragment into try/catch function
2016-01-10 10:32:10 -05:00
Joshua Kifer
886d796e0b
Fixed setAttributes for custom components (like Polymer uses) with readonly properties
2016-01-05 11:53:01 -08:00
John Long
0b9cbd1f82
Moves createContextualFragment into try/catch function
2016-01-05 12:20:40 -07:00
Leo Horie
871e32fca3
Merge branch 'route-shift-key' of https://github.com/tobscure/mithril.js into tobscure-route-shift-key
...
Conflicts:
mithril.js
2015-12-21 09:32:47 -05:00
Leo Horie
309f2d561d
Merge branch 'Subtree-retain-fix' of https://github.com/dhinesh03/mithril.js into dhinesh03-Subtree-retain-fix
2015-12-20 19:09:24 -05:00
Leo Horie
270b20a2b0
v0.2.2-rc.1
2015-12-20 09:14:28 -05:00
Sean Hussey
c1912d2726
Fixing a few typos. Changing all instances of "thennable" to
...
"thenable". No functional changes.
2015-12-18 14:40:41 -05:00
impinball
7f7a0a3815
Remove unused parameter
2015-12-16 12:24:12 -05:00
impinball
565ca32d9a
Fix issue with a placeholder
2015-12-16 11:54:34 -05:00
impinball
1b4737b0c6
Rewrite most of the last commit of #887 (without the m.request bug)
2015-12-16 11:22:11 -05:00
impinball
69836f3811
Small performance improvements (part 1)
2015-12-16 10:51:43 -05:00
impinball
75a3f0785c
Revert "Few more small performance tweaks"
...
This reverts commit 0e00621840 .
2015-12-16 10:37:12 -05:00
impinball
0e00621840
Few more small performance tweaks
2015-12-15 16:56:04 -05:00
impinball
20c3bf07f0
Merge branch 'next' of https://github.com/lhorie/mithril.js into speed
2015-12-15 12:26:07 -05:00