Comparing version 0.0.1 to 0.0.2
@@ -39,3 +39,3 @@ /* | ||
_applyTraitTo: function(subject, options){ | ||
var key, tp, excluded, aliases, alias; | ||
var key, tp, excluded, aliases, alias,t; | ||
@@ -46,7 +46,6 @@ if(typeof options === 'function'){ | ||
//TODO: validate trait (a trait should have only methods) | ||
excluded = [].concat(options.excludes); | ||
aliases = options.alias || {}; | ||
tp = options.trait.prototype; | ||
t = options.trait || options.talent; | ||
tp = t.prototype; | ||
@@ -53,0 +52,0 @@ for(key in tp){ |
{ | ||
"name": "cocktail", | ||
"description": "Shake your Objects and Classes with Cocktail!", | ||
"version": "0.0.1", | ||
"homepage": "", | ||
"description": "Annotations, Traits and Talents - Shake your objects and classes with Cocktail!", | ||
"version": "0.0.2", | ||
"homepage": "http://cocktailjs.github.com", | ||
"author": { | ||
@@ -28,3 +28,3 @@ "name": "Maximiliano Fierro", | ||
"devDependencies": { | ||
"grunt-simple-mocha": "0.3.2", | ||
"grunt-simple-mocha": "https://github.com/yaymukund/grunt-simple-mocha/tarball/7d1cb9bfd8580fc5369bd82e288f683bb7ca0d46", | ||
"chai": "1.4.2", | ||
@@ -39,3 +39,3 @@ "mocha": "1.8.1", | ||
}, | ||
"keywords": [] | ||
"keywords": ["oop", "extends", "annotations", "traits", "talents", "properties", "mix", "class"] | ||
} |
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
No website
QualityPackage does not have a website.
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
16491