Comparing version 0.0.6 to 0.0.8
{ | ||
"name": "mvcobject", | ||
"main": "MVCObject.js", | ||
"version": "0.0.4", | ||
"version": "0.0.8", | ||
"homepage": "https://github.com/Jeremial/MVCObject", | ||
@@ -6,0 +6,0 @@ "authors": [ |
@@ -8,3 +8,4 @@ // Generated by CoffeeScript 1.6.3 | ||
(function() { | ||
var Accessor, MVCObject; | ||
var Accessor, MVCObject, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -61,2 +62,3 @@ MVCObject = (function() { | ||
for (bindingUid in _ref) { | ||
if (!__hasProp.call(_ref, bindingUid)) continue; | ||
bindingObj = _ref[bindingUid]; | ||
@@ -131,2 +133,3 @@ _results.push(triggerChange(bindingObj.target, bindingObj.targetKey)); | ||
for (key in values) { | ||
if (!__hasProp.call(values, key)) continue; | ||
value = values[key]; | ||
@@ -174,6 +177,8 @@ setterName = getSetterName(key); | ||
MVCObject.prototype.unbindAll = function() { | ||
var key, _results; | ||
var key, _ref, _results; | ||
this.__accessors__ || (this.__accessors__ = {}); | ||
_ref = this.__accessors__; | ||
_results = []; | ||
for (key in this.__accessors__) { | ||
for (key in _ref) { | ||
if (!__hasProp.call(_ref, key)) continue; | ||
_results.push(this.unbind(key)); | ||
@@ -180,0 +185,0 @@ } |
{ | ||
"name": "mvcobject", | ||
"version": "0.0.6", | ||
"version": "0.0.8", | ||
"description": "A CoffeeScript implementation of Google Maps' MVCObject", | ||
@@ -5,0 +5,0 @@ "main": "MVCObject.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30099
210