From 0.19 Elm introduced 4 ways to boot an app:
- sandbox (no outside interaction)
- element (simple outside interaction - side effect, flags, subscriptions)
- document (same as above but with title tag control)
- application (whole SPA features)
From 0.19 Elm introduced 4 ways to boot an app:
this.PaginatorSection = React.createClass( | |
{ | |
displayName: "PaginatorSection", | |
_handleOnClick: function(e) { | |
return this.props.onPaginate(e) | |
}, | |
render: function() { | |
var e; | |
return this.props.totalPages > 1 ? React.DOM.ul({className: "pagination"}, function() { | |
var t, n, r; |
/*! | |
* jQuery Tiny Pub/Sub - v0.6 - 1/10/2011 | |
* http://benalman.com/ see https://gist.github.com/661855 | |
* | |
* Copyright (c) 2010 "Cowboy" Ben Alman | |
* Dual licensed under the MIT and GPL licenses. | |
* http://benalman.com/about/license/ | |
* | |
* (removed pre 1.4.3 support, added $.pubsubdebug()) | |
*/ |
# Note that when compiling with coffeescript, the plugin is wrapped in another | |
# anonymous function. We do not need to pass in undefined as well, since | |
# coffeescript uses (void 0) instead. | |
do ($ = jQuery, window, document) -> | |
# window and document are passed through as local variable rather than global | |
# as this (slightly) quickens the resolution process and can be more efficiently | |
# minified (especially when both are regularly referenced in your plugin). | |
# Create the defaults once |