exoskeleton

2019-04-15 admin

exoskeleton是什么

什么是exoskeleton,Faster and leaner Backbone for your HTML5 apps.

exoskeleton使用教程帮助文档

Exoskeleton

Exoskeleton is a faster and leaner Backbone for your HTML5 apps.

http://paulmillr.com/exoskeleton/

What already works

All features you need for real-world app are working. All software tests are passing: underscore

  • Backbone: with and without Underscore
  • Chaplin: with and without Underscore

Marionette and other popular plugins: WIP.

Building

Default and custom builds:

make # Will create exoskeleton.js
make noutils # If you want to use Underscore
             # and don't want to include `Exoskeleton.utils`.
make min     # Minified version.
# Custom, like this:
cat lib/{header,events,collection,sync,history,footer}.js > exoskeleton.js

Features

Also:

Differences

  • Declaratively defined view events which point to non-existing handler functions are no longer tolerated / skipped. Early error is thrown instead.

  • No hash-based routing. Only pushState urls.

  • In no-underscore environment, there are no underscore-inspired Collection methods (each, pluck etc.), but there are ES5-inspired methods:

    forEach, map, filter, some, every, reduce, reduceRight, indexOf, lastIndexOf

    Also, no underscore-inspired Model methods at all.

  • emulateHTTP and emulateJSON were removed

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-61844.html

文章标题:exoskeleton

回到顶部