Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "matte", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -12,2 +12,17 @@ /** | ||
exports.List = Component.specialize(/** @lends module:"matte/ui/list.reel".List# */ { | ||
constructor: { | ||
value: function List () { | ||
this.super(); | ||
this.defineBinding("_repetition.content", {"<-": "content"}); | ||
// Only use a contentController if content is not defined | ||
this.defineBinding("content.defined() ? null : _repetition.contentController", { | ||
"<-": "contentController" | ||
}); | ||
} | ||
}, | ||
/** | ||
@@ -29,27 +44,5 @@ Description TODO | ||
_content: {value: null}, | ||
content: { | ||
set: function(value) { | ||
this._content = value; | ||
this.defineBinding("_repetition.content", { | ||
"<-": "_content" | ||
}); | ||
}, | ||
get: function() { | ||
return this._content; | ||
} | ||
}, | ||
content: {value: null}, | ||
_contentController: {value: null}, | ||
contentController: { | ||
set: function(value) { | ||
this._contentController = value; | ||
this.defineBinding("_repetition.contentController", { | ||
"<-": "_contentController" | ||
}); | ||
}, | ||
get: function() { | ||
return this._contentController; | ||
} | ||
}, | ||
contentController: {value: null}, | ||
@@ -56,0 +49,0 @@ axis: { |
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
356517
8939