mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
Vendored
+5
-5
@@ -32,7 +32,7 @@ __PluginManager__.register('jQueryProxy',function(require, exports, module, glob
|
||||
JQueryProxy.prototype.hasJQueryIniter = function(){
|
||||
return window.hasOwnProperty('jQuery') && Object.is(window.jQuery, J);
|
||||
};
|
||||
JQueryProxy.prototype.onJQueryRegister = function(plugin){
|
||||
JQueryProxy.prototype.onInstall = function(plugin){
|
||||
if(!this.hasJQuery()){
|
||||
(function(w){
|
||||
w.$ = w.jQuery = J;
|
||||
@@ -40,15 +40,15 @@ __PluginManager__.register('jQueryProxy',function(require, exports, module, glob
|
||||
})(window);
|
||||
}
|
||||
};
|
||||
JQueryProxy.prototype.onJQueryInstall = function(plugin){
|
||||
JQueryProxy.prototype.onJQueryInstall = function(jQueryPlugin, jQueryProxyPlugin){
|
||||
var self = this;
|
||||
if(!plugin.module.initer){
|
||||
if(!jQueryProxyPlugin.module.initer){
|
||||
return;
|
||||
}
|
||||
(function(w){
|
||||
var q = plugin.module.initer.queue;
|
||||
var q = jQueryProxyPlugin.module.initer.queue;
|
||||
if(self.hasJQueryIniter()){
|
||||
w.$ = w.jQuery = plugin.module.exports;
|
||||
w.$ = w.jQuery = jQueryPlugin.module.exports;
|
||||
for (var ch of q){
|
||||
var root = w;
|
||||
for (var c of ch){
|
||||
|
||||
Reference in New Issue
Block a user