mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -475,7 +475,16 @@ __PluginManager__.register('support', function(module, exports, require, global)
|
||||
return animations[t];
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function namespace(namespace, parent = window){
|
||||
var parts=namespace.split(".");
|
||||
for(var i=0;i<parts.length;i++){
|
||||
if(typeof parent[parts[i]]==="undefined"){parent[parts[i]]={};}
|
||||
parent=parent[parts[i]];
|
||||
}
|
||||
return parent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @memberOf kit
|
||||
@@ -518,7 +527,8 @@ __PluginManager__.register('support', function(module, exports, require, global)
|
||||
setObjProp,
|
||||
getObjProp,
|
||||
whichAnimationEvent,
|
||||
whichTransitionEvent
|
||||
whichTransitionEvent,
|
||||
namespace
|
||||
};
|
||||
|
||||
return module.exports = support;
|
||||
|
||||
Reference in New Issue
Block a user