Comparing version 0.4.12 to 0.4.13
@@ -56,3 +56,3 @@ // Generated by CoffeeScript 1.3.3 | ||
function Control(frame, fn, args) { | ||
var apply, arg, index, ns, parts, _base, _base1, _i, _j, _len, _len1, _name, _ref2, _ref3, | ||
var apply, arg, index, ns, parts, _base, _base1, _base2, _base3, _i, _j, _len, _len1, _name, _name1, _ref2, _ref3, _ref4, _ref5, | ||
_this = this; | ||
@@ -93,2 +93,11 @@ this.frame = frame; | ||
parts = /^([&])?(@|%)(.*)$/.exec(arg); | ||
if (isRef(args[index])) { | ||
if ((_ref2 = (_base = args[index].metadata).controls) == null) { | ||
_base.controls = {}; | ||
} | ||
if ((_ref3 = (_base1 = args[index].metadata.controls)[_name = this.instance]) == null) { | ||
_base1[_name] = {}; | ||
} | ||
args[index].metadata.controls[this.instance].passRef = true; | ||
} | ||
if ((parts != null) && parts[2] === '@' && (parts[3] != null)) { | ||
@@ -101,7 +110,7 @@ args[index] = this.props[parts[3]]; | ||
if (isRef(args[index])) { | ||
if ((_ref2 = (_base = args[index].metadata).controls) == null) { | ||
_base.controls = {}; | ||
if ((_ref4 = (_base2 = args[index].metadata).controls) == null) { | ||
_base2.controls = {}; | ||
} | ||
if ((_ref3 = (_base1 = args[index].metadata.controls)[_name = this.instance]) == null) { | ||
_base1[_name] = {}; | ||
if ((_ref5 = (_base3 = args[index].metadata.controls)[_name1 = this.instance]) == null) { | ||
_base3[_name1] = {}; | ||
} | ||
@@ -108,0 +117,0 @@ if ((parts != null) && parts[1] === '&') { |
{ | ||
"name": "cosy-js", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"description": "A cosy little library.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
136294
2389