mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -28,7 +28,7 @@ __PluginManager__.registerPlugins({
|
|||||||
module: '/support.js',
|
module: '/support.js',
|
||||||
type: 'loader',
|
type: 'loader',
|
||||||
},
|
},
|
||||||
jquery: {
|
jQuery: {
|
||||||
path: __pmConfig__.assetsPath + '/jquery',
|
path: __pmConfig__.assetsPath + '/jquery',
|
||||||
module: '/jquery.min.js',
|
module: '/jquery.min.js',
|
||||||
type: 'loader',
|
type: 'loader',
|
||||||
@@ -109,14 +109,14 @@ __PluginManager__.registerPlugins({
|
|||||||
path: __pmConfig__.assetsPath + '/mask',
|
path: __pmConfig__.assetsPath + '/mask',
|
||||||
module: '/mask.js',
|
module: '/mask.js',
|
||||||
type: 'loader',
|
type: 'loader',
|
||||||
deps: ['jquery'],
|
deps: ['jQuery'],
|
||||||
},
|
},
|
||||||
toolkit: {
|
toolkit: {
|
||||||
path: __pmConfig__.assetsPath + '/toolkit',
|
path: __pmConfig__.assetsPath + '/toolkit',
|
||||||
module: '/toolkit.js',
|
module: '/toolkit.js',
|
||||||
type: 'loader',
|
type: 'loader',
|
||||||
css: ['/toolkit.css'],
|
css: ['/toolkit.css'],
|
||||||
deps: ['jquery', 'mask'],
|
deps: ['jQuery', 'mask'],
|
||||||
},
|
},
|
||||||
Modal: {
|
Modal: {
|
||||||
path: __pmConfig__.assetsPath + '/modal',
|
path: __pmConfig__.assetsPath + '/modal',
|
||||||
@@ -164,7 +164,7 @@ __PluginManager__.registerPlugins({
|
|||||||
css: [
|
css: [
|
||||||
'/css/datepicker.css',
|
'/css/datepicker.css',
|
||||||
],
|
],
|
||||||
deps: ['jquery'],
|
deps: ['jQuery'],
|
||||||
onRegister: function (plugin) {
|
onRegister: function (plugin) {
|
||||||
//kit.PluginManager.install(plugin.id)
|
//kit.PluginManager.install(plugin.id)
|
||||||
},
|
},
|
||||||
@@ -247,6 +247,11 @@ __PluginManager__.registerPlugins({
|
|||||||
css: '/fancybox.css',
|
css: '/fancybox.css',
|
||||||
js: '/fancybox.umd.js',
|
js: '/fancybox.umd.js',
|
||||||
},
|
},
|
||||||
|
lightGallery: {
|
||||||
|
path: __pmConfig__.assetsPath + '/lightGallery',
|
||||||
|
css: '/lightGallery.css',
|
||||||
|
js: '/lightGallery.js',
|
||||||
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
kit.PluginManager.register('datepicker', function(module, exports, require, global){
|
kit.PluginManager.register('datepicker', function(module, exports, require, global){
|
||||||
|
|
||||||
var $, jQuery;
|
var $, jQuery;
|
||||||
jQuery = $ = require('jquery');
|
jQuery = $ = require('jQuery');
|
||||||
|
|
||||||
|
|
||||||
;(function (window, $, undefined) {
|
;(function (window, $, undefined) {
|
||||||
|
|||||||
Vendored
+5
-1
@@ -1,4 +1,5 @@
|
|||||||
kit.PluginManager.register('jquery', function(module, exports, require, global){
|
/** @module jQuery */
|
||||||
|
kit.PluginManager.register('jQuery', function(module, exports, require, global){
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* jQuery JavaScript Library v3.6.0
|
* jQuery JavaScript Library v3.6.0
|
||||||
@@ -157,6 +158,9 @@ kit.PluginManager.register('jquery', function(module, exports, require, global){
|
|||||||
version = "3.6.0",
|
version = "3.6.0",
|
||||||
|
|
||||||
// Define a local copy of jQuery
|
// Define a local copy of jQuery
|
||||||
|
/**
|
||||||
|
* @memberOf kit
|
||||||
|
*/
|
||||||
jQuery = function( selector, context ) {
|
jQuery = function( selector, context ) {
|
||||||
|
|
||||||
// The jQuery object is actually just the init constructor 'enhanced'
|
// The jQuery object is actually just the init constructor 'enhanced'
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
kit.PluginManager.register('mask', function(module, exports, require){
|
kit.PluginManager.register('mask', function(module, exports, require){
|
||||||
|
|
||||||
var $ = require('jquery');
|
var $ = require('jQuery');
|
||||||
|
|
||||||
var ua = navigator.userAgent,
|
var ua = navigator.userAgent,
|
||||||
iPhone = /iphone/i.test(ua),
|
iPhone = /iphone/i.test(ua),
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
kit.PluginManager.register('toolkit', function(module, exports, require, global) {
|
kit.PluginManager.register('toolkit', function(module, exports, require, global) {
|
||||||
|
|
||||||
var $ = require('jquery');
|
var $ = require('jQuery');
|
||||||
|
|
||||||
var __Helper = function () {
|
var __Helper = function () {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user