84e325a6 by Michael Richards

Build 0.3.13.

1 parent ae93758f
// rivets.js
// version: 0.3.12
// version: 0.3.13
// author: Michael Richards
// license: MIT
(function() {
......@@ -126,7 +126,7 @@
if (!this.options.bypass) {
Rivets.config.adapter.unsubscribe(this.model, this.keypath, this.sync);
if (this.isBidirectional()) {
unbindEvent(this.el('change', this.publish));
unbindEvent(this.el, 'change', this.publish);
}
}
if ((_ref = this.options.dependencies) != null ? _ref.length : void 0) {
......@@ -238,8 +238,13 @@
path = context.shift();
splitPath = path.split(/\.|:/);
options.formatters = pipes;
model = _this.models[splitPath.shift()];
options.bypass = path.indexOf(':') !== -1;
if (splitPath[0]) {
model = _this.models[splitPath.shift()];
} else {
model = _this.models;
splitPath.shift();
}
keypath = splitPath.join('.');
if (model) {
if (dependencies = context.shift()) {
......
{
"name" : "rivets",
"description" : "Declarative data binding facility.",
"version" : "0.3.12",
"version" : "0.3.13",
"author" : "Michael Richards",
"url" : "http://rivetsjs.com",
"main" : "./lib/rivets.js",
......
# rivets.js
# version : 0.3.12
# version : 0.3.13
# author : Michael Richards
# license : MIT
......