mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -37,15 +37,12 @@ var __PluginManagerConfigHandler__ = function() {
|
||||
},
|
||||
jQueryProxy: {
|
||||
path: root + '/jquery/proxy',
|
||||
js: '/jquery-proxy.min.js',
|
||||
module: '/jquery-proxy.min.js',
|
||||
type: 'HMD',
|
||||
alias: [],
|
||||
alias: ['jquery/proxy'],
|
||||
deps: [],
|
||||
onInstall: function(plugin){
|
||||
var jQueryPlugin = __pmGlobal__.pm.plugins.jQuery
|
||||
if(jQueryPlugin.isInstalled()){
|
||||
|
||||
}
|
||||
plugin.module.exports.onInstall(plugin);
|
||||
},
|
||||
},
|
||||
jQuery: {
|
||||
@@ -57,17 +54,15 @@ var __PluginManagerConfigHandler__ = function() {
|
||||
if(hasJQuery()){
|
||||
plugin.module.exports = window.jQuery;
|
||||
plugin.config.module = '';
|
||||
} else {
|
||||
var jQueryProxyPlugin = __pmGlobal__.pm.plugins.jQueryProxy;
|
||||
if(jQueryProxyPlugin.isInstalled()){
|
||||
jQueryProxyPlugin.module.exports.onJQueryRegister(plugin);
|
||||
}
|
||||
}
|
||||
},
|
||||
onInstall: function(plugin){
|
||||
var jQueryProxyPlugin = __pmGlobal__.pm.plugins.jQueryProxy;
|
||||
if(jQueryProxyPlugin.isInstalled()){
|
||||
jQueryProxyPlugin.module.exports.onJQueryInstall(plugin);
|
||||
jQueryProxyPlugin.module.exports.onJQueryInstall(plugin, jQueryProxyPlugin);
|
||||
}
|
||||
if(!hasJQuery()){
|
||||
window.$ = window.jQuery = plugin.module.exports;
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -316,7 +311,6 @@ var __PluginManagerConfigHandler__ = function() {
|
||||
path: root + '/lightGallery',
|
||||
css: '/css/lightgallery.css',
|
||||
module: '/lightgallery.min.js',
|
||||
js: [],
|
||||
type: 'UMD',
|
||||
deps: [],
|
||||
},
|
||||
@@ -328,6 +322,22 @@ var __PluginManagerConfigHandler__ = function() {
|
||||
deps: ['lightGallery'],
|
||||
alias: ['lgVideo'],
|
||||
},
|
||||
'lightGallery.autoplay': {
|
||||
path: root + '/lightGallery',
|
||||
css: '/css/lg-autoplay.css',
|
||||
module: '/plugins/autoplay/lg-autoplay.min.js',
|
||||
type: 'UMD',
|
||||
deps: ['lightGallery'],
|
||||
alias: ['lgAutoplay'],
|
||||
},
|
||||
'lightGallery.thumbnail': {
|
||||
path: root + '/lightGallery',
|
||||
css: '/css/lg-thumbnail.css',
|
||||
module: '/plugins/thumbnail/lg-thumbnail.min.js',
|
||||
type: 'UMD',
|
||||
deps: ['lightGallery'],
|
||||
alias: ['lgThumbnail'],
|
||||
},
|
||||
owlCarousel: {
|
||||
path: root + '/owlCarousel',
|
||||
css: '/owlCarousel.css',
|
||||
|
||||
Reference in New Issue
Block a user