Bundled output for commit 26b8d994ce [skip ci]
This commit is contained in:
parent
26b8d994ce
commit
84cb4e750a
3 changed files with 4 additions and 16 deletions
|
|
@ -18,7 +18,7 @@ mithril.js [](https://ww
|
|||
|
||||
## What is Mithril?
|
||||
|
||||
A modern client-side Javascript framework for building Single Page Applications. It's small (<!-- size -->8.91 KB<!-- /size --> gzipped), fast and provides routing and XHR utilities out of the box.
|
||||
A modern client-side Javascript framework for building Single Page Applications. It's small (<!-- size -->8.83 KB<!-- /size --> gzipped), fast and provides routing and XHR utilities out of the box.
|
||||
|
||||
Mithril is used by companies like Vimeo and Nike, and open source platforms like Lichess 👍.
|
||||
|
||||
|
|
|
|||
16
mithril.js
16
mithril.js
|
|
@ -1523,20 +1523,8 @@ var _21 = function($window, redrawService0) {
|
|||
return route
|
||||
}
|
||||
m.route = _21(window, redrawService)
|
||||
m.withAttr = function(attrName, callback, context) {
|
||||
return function(e) {
|
||||
callback.call(context || this, attrName in e.currentTarget ? e.currentTarget[attrName] : e.currentTarget.getAttribute(attrName))
|
||||
}
|
||||
}
|
||||
m.prop = function (store) {
|
||||
return {
|
||||
get: function() { return store },
|
||||
toJSON: function() { return store },
|
||||
set: function(value0) { return store = value0 }
|
||||
}
|
||||
}
|
||||
var _30 = coreRenderer(window)
|
||||
m.render = _30.render
|
||||
var _28 = coreRenderer(window)
|
||||
m.render = _28.render
|
||||
m.redraw = redrawService.redraw
|
||||
m.request = requestService.request
|
||||
m.jsonp = requestService.jsonp
|
||||
|
|
|
|||
2
mithril.min.js
vendored
2
mithril.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue