mirror of
https://github.com/flynx/features.js.git
synced 2025-10-29 18:30:11 +00:00
cleaning out some legacy...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1c25955d1c
commit
053d0d4a45
@ -12,12 +12,6 @@ var actions = module.actions = require('ig-actions')
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************************/
|
|
||||||
|
|
||||||
var args2array = function(a){ return [].slice.call(a) }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************************/
|
/*********************************************************************/
|
||||||
|
|
||||||
var FeatureLinearizationError =
|
var FeatureLinearizationError =
|
||||||
@ -1130,7 +1124,7 @@ var FeatureSetProto = {
|
|||||||
|
|
||||||
// shorthand for: Feature(<feature-set>, ...)
|
// shorthand for: Feature(<feature-set>, ...)
|
||||||
Feature: function(){
|
Feature: function(){
|
||||||
return this.__feature__.apply(null, [this].concat(args2array(arguments))) },
|
return this.__feature__.apply(null, [this].concat([...arguments])) },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user