gitbook-plugin-lightbox
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -14,14 +14,11 @@ "use strict"; | ||
var getAssets = function getAssets() { | ||
var assets = { | ||
// let config = this.config.get('pluginsConfig.lightbox'); | ||
// if (config.hasOwnProperty('jquery') && config['jquery'] === false) { | ||
// assets['js'] = ['jquery.min.js'].concat(assets['js']) | ||
// } | ||
return { | ||
assets: './dist/assets', | ||
js: ['lightbox.min.js'], | ||
js: ['jquery.min.js', 'lightbox.min.js'], | ||
css: ['lightbox.min.css'] | ||
}; | ||
var config = this.config.get('pluginsConfig.lightbox'); | ||
if (config.hasOwnProperty('jquery') && config['jquery'] === false) { | ||
assets['js'] = ['jquery.min.js'].concat(assets['js']); | ||
} | ||
return assets; | ||
}; | ||
@@ -28,0 +25,0 @@ |
{ | ||
"name": "gitbook-plugin-lightbox", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": " A gitbook plugin to show image by lightbox.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103257
416