updated handlebar runtime. update your compiler 'npm update'

This commit is contained in:
Keivan Beigi 2013-05-16 15:49:57 -07:00
parent 3001b3c905
commit 16e00d77ca
2 changed files with 321 additions and 290 deletions

View file

@ -1,5 +1,5 @@
/*
backbone-pageable 1.2.3
backbone-pageable 1.2.4
http://github.com/wyuenho/backbone-pageable
Copyright (c) 2013 Jimmy Yuen Ho Wong
@ -260,8 +260,8 @@
@param {Object} [options]
@param {function(*, *): number} [options.comparator] If specified, this
comparator is set to the current page under server mode, or the
#fullCollection otherwise.
comparator is set to the current page under server mode, or the #fullCollection
otherwise.
@param {boolean} [options.full] If `false` and either a
`options.comparator` or `sortKey` is defined, the comparator is attached
@ -281,7 +281,9 @@
@param {Object} [options.queryParam]
*/
initialize: function (models, options) {
constructor: function (models, options) {
Backbone.Collection.apply(this, arguments);
options = options || {};