Commit graph

811 commits

Author SHA1 Message Date
Leo Horie
b0c4482ecc Merge pull request #578 from therebelrobot/bugfix/m.route-redirect-url-update
Added check for this.attrs into m.route
2015-04-22 20:21:43 -04:00
Leo Horie
aebf16b618 Merge pull request #579 from alexander-travov/next
Fix URI.js url
2015-04-22 15:09:30 -04:00
Alexander Travov
99b78b0e7c Fix URI.js url 2015-04-22 21:24:03 +03:00
Trent Oswald
1d6405e547 Added check for this.attrs into m.route
m.route('path'), when called programmatically (not attached to an anchor
tag), did not update the url in the navigation bar. I tracked it to this
error, where it is searching for an elements attributes, sepecifically
the this.attrs.href, which did not exist when called programatically.
The error returning was "Cannot read property 'href' of undefined",
which linked back to line 618 in the mithril core file.

I added a simple check to see if this.attrs exists before calling in
.href. Fixed it like a charm. I tried to follow the current coding
style, but let me know if there is something amiss in my change.

I ran both grunt test and grunt testall and everything seemed to run
perfect.
2015-04-22 10:31:33 -06:00
Leo Horie
c5b0f068f1 Merge pull request #568 from johnmarkos/git-notrack-archive
Removed archive/v0.1.34/mithril-tests.js from git.
2015-04-21 10:54:31 -04:00
Leo Horie
fdeb6f9512 Merge remote-tracking branch 'origin/next' into next 2015-04-17 08:14:24 -04:00
Leo Horie
06721ceb76 js.org badge 2015-04-17 08:14:07 -04:00
John Markos O'Neill
0dbd022c62 Removed archive/v0.1.34/mithril-tests.js from git.
archive/ is already in .gitignore. This change removes the file
from tracking as well. It gets re-generated by `npm test`.
2015-04-16 23:35:41 -07:00
Leo Horie
1a97d3db95 Merge pull request #563 from johnmarkos/install-grunt
Install grunt explicitly to stop warnings.
2015-04-16 08:01:23 -04:00
John Markos O'Neill
d4b5ebd90e Install grunt explicitly to stop warnings. 2015-04-15 16:53:58 -07:00
Leo Horie
81e9d64912 Merge pull request #561 from shibukawa/patch-2
Duplicated senteces
2015-04-15 13:31:56 -04:00
Yoshiki Shibukawa
3eac4a2596 Duplicated senteces
Signature document for "background" option contains almost same meaning sentences. First one has more information, and I think separated warning message is easy to read (difficult to pass through), I changed like this:

* Remove a simpler sentence.
* Move a detailed sentence to the bottom where simpler sentence was originally.
2015-04-15 11:10:27 +09:00
Leo Horie
fae96e65c0 Merge pull request #556 from shibukawa/patch-1
Update mithril.route.md
2015-04-14 14:44:58 -04:00
Leo Horie
f1e709e34b Merge pull request #557 from valtron/patch-1
Canonicalize `options.method` in m.request
2015-04-14 14:44:47 -04:00
valtron
ce20520f3a Canonicalize options.method in m.request 2015-04-14 11:46:40 -06:00
Yoshiki Shibukawa
2f649b75be Update mithril.route.md 2015-04-15 00:50:29 +09:00
Leo Horie
5c543342d7 Merge pull request #550 from shibukawa/patch-1
Update mithril.md
2015-04-13 08:27:23 -04:00
Yoshiki Shibukawa
f3183a709f Update mithril.md
Fix spelling
2015-04-13 08:47:08 +09:00
Leo Horie
4b7122707d Merge pull request #543 from alexander-travov/next
Fix docstring for m.route.parseQueryString
2015-04-10 20:56:16 -04:00
Leo Horie
51100bf920 link to change log from home 2015-04-10 20:55:09 -04:00
Alexander Travov
eb04351e97 Fix docstring for m.route.parseQueryString 2015-04-11 01:22:42 +03:00
Leo Horie
f7263fea4d style 2015-04-09 23:01:27 -04:00
Leo Horie
2046d4dec5 Merge pull request #536 from dailymuse/feature/query-param-fix
added parsing of '?' for query strings
2015-04-09 23:00:14 -04:00
Leo Horie
0273eb13a0 fix markup of example 2015-04-09 22:46:13 -04:00
Leo Horie
02106b2aa0 Merge pull request #532 from webcss/patch-3
Update mithril.md
2015-04-09 22:39:18 -04:00
Shlomo Dalezman
b00f4f87d9 added parsing of '?' for query strings 2015-04-07 19:29:36 -04:00
webcss
85894a1536 Update mithril.md 2015-04-03 22:53:42 +02:00
Leo Horie
f7413dc6e3 fix svg tests 2015-04-01 12:31:39 -04:00
Leo Horie
f07fbccbf6 v0.1.34 publish 2015-03-31 12:39:12 -04:00
Leo Horie
b111d058be fix regression caused by #524 2015-03-31 10:50:19 -04:00
Leo Horie
67ddca4ba7 Merge pull request #527 from milesmatthias/master-addjsfiddle
added a link for the example app in jsfiddle for people.
2015-03-31 09:03:36 -04:00
Miles Matthias
e1b326d1a9 added a link for the example app in jsfiddle for people. 2015-03-30 16:35:06 -06:00
Leo Horie
11c53fd9ee update docs about bleeding edge build via npm 2015-03-30 17:30:31 -04:00
Leo Horie
755f2c4c4b rename package to avoid conflict w/ production package 2015-03-30 16:16:32 -04:00
Leo Horie
242a60b384 expose dev repo for beta testing over npm 2015-03-30 16:13:12 -04:00
Leo Horie
dfab767265 fix package.json 2015-03-30 16:00:24 -04:00
Leo Horie
5d85a6bb0e v0.1.33 publish 2015-03-30 15:54:43 -04:00
Leo Horie
3e2028fc14 #518 fix package.json file for cdn.js 2015-03-30 14:54:20 -04:00
Leo Horie
8d9fa8ff04 remove timing code 2015-03-30 13:26:56 -04:00
Leo Horie
648f4734b5 #524 fix diff bug when mixing undefined in a tree 2015-03-30 13:25:32 -04:00
Leo Horie
b6c2f70526 add missing return 2015-03-30 10:55:34 -04:00
Leo Horie
1e9ddc637e #519 fix links 2015-03-30 09:23:50 -04:00
Leo Horie
6ef5ed3d07 v0.1.32 release 2015-03-27 12:02:26 -04:00
Leo Horie
9748b6ece4 #454 fix regression 2015-03-27 11:55:09 -04:00
Leo Horie
d4099a254b v0.1.31 release 2015-03-26 22:34:33 -04:00
Leo Horie
bcc8f427a1 update typescript definition 2015-03-26 22:27:31 -04:00
Leo Horie
0dcfd59d29 document build/parseQueryString 2015-03-26 21:52:42 -04:00
Leo Horie
f7cacb7a0b #507 fix diff regression when mixing elements and text nodes 2015-03-26 21:14:30 -04:00
Leo Horie
6f832a7040 #501,#502,#504 buildQueryString and parseQueryString fixes and tests 2015-03-25 21:54:36 -04:00
Leo Horie
30a00cde8b change order in community page 2015-03-24 23:56:22 -04:00