Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lightbox

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightbox - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

.idea/.name

9

assets/scripts/lightbox.js
'use strict';
var $ = window.jQuery ? window.jQuery : require('jquery'),
_ = require('lodash'),
Mousetrap = require('mousetrap'),

@@ -85,8 +86,8 @@ transit = require('jquery.transit');

*
* @param {string} html
* @param {string|jQuery} content
*/
show_content: function (html) {
this.$content.html(html);
show_content: function (content) {
this.$content.clear().append(content);
this.$loader.hide();
this.do_inline_transforms(html);
this.do_inline_transforms(content.html ? content.html() : content);
if (this.isDesktop)

@@ -93,0 +94,0 @@ this.show_content_desktop();

{
"name": "lightbox",
"version": "0.1.0",
"main": "assets/scripts/main.js",
"description": "Easy as <a href=\"/foo\" target=\"lightbox\">pie</a>",
"keywords": [
"name": "lightbox",
"version": "0.2.0",
"main": "assets/scripts/main.js",
"description": "Easy as <a href=\"/foo\" target=\"lightbox\">pie</a>",
"keywords": [
"lightbox"
],
"scripts": {
"scripts": {
"pretest": "jshint assets/scripts"
},
"repository": "https://github.com/jmversteeg/lightbox",
"author": "jmversteeg",
"license": "MIT",
"repository": "https://github.com/jmversteeg/lightbox",
"author": "jmversteeg",
"license": "MIT",
"devDependencies": {
"babelify": "^7.2.0",
"bourbon": "^4.2.6",
"browserify": "^12.0.1",
"babelify": "^7.2.0",
"bourbon": "^4.2.6",
"browserify": "^12.0.1",
"browserify-handlebars": "^1.0.0",
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0",
"coveralls": "^2.11.6",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.1.0",
"gulp-concat": "^2.6.0",
"gulp-if": "^2.0.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.1.1",
"gulp-sourcemaps": "^1.6.0",
"jquery": "^2.1.4",
"jquery.transit": "^0.9.12",
"mocha": "^2.3.4",
"mousetrap": "^1.5.3",
"sinon": "^1.17.2",
"sinon-chai": "^2.8.0",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
"yargs": "^3.31.0"
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0",
"coveralls": "^2.11.6",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.1.0",
"gulp-concat": "^2.6.0",
"gulp-if": "^2.0.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.1.1",
"gulp-sourcemaps": "^1.6.0",
"jquery": "^2.1.4",
"jquery.transit": "^0.9.12",
"lodash": "^3.10.1",
"mocha": "^2.3.4",
"mousetrap": "^1.5.3",
"sinon": "^1.17.2",
"sinon-chai": "^2.8.0",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
"yargs": "^3.31.0"
}
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc