Skip to content

Commit

Permalink
add zoom.js
Browse files Browse the repository at this point in the history
fixed #7
  • Loading branch information
mismith0227 committed Aug 15, 2017
1 parent 30e7e92 commit 9e7cd2a
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 292 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"babel-preset-es2015": "^6.18.0",
"csswring": "^5.1.1",
"del": "^2.2.2",
"exports-loader": "^0.6.4",
"gulp": "^3.9.1",
"gulp-if": "^2.0.2",
"gulp-imagemin": "^3.1.1",
Expand All @@ -43,6 +44,7 @@
"webpack-stream": "^3.2.0"
},
"dependencies": {
"jquery": "^3.2.1"
"jquery": "^3.2.1",
"zoom.js": "https://github.com/fat/zoom.js/"
}
}
1 change: 1 addition & 0 deletions src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import "foundation/variable/breakpoint.css";
@import "foundation/variable/color.css";
@import "foundation/variable/font-family.css";
@import "foundation/lib/zoom.css";
@import "foundation/base/normalize.css";
@import "foundation/base/base.css";

Expand Down
2 changes: 2 additions & 0 deletions src/js/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const $ = window.jQuery
require('zoom.js')
require('./zoom/transition.js')

$(() => {
$('img').attr('data-action', 'zoom')
Expand Down
285 changes: 0 additions & 285 deletions src/js/zoom/zoom.js

This file was deleted.

Loading

0 comments on commit 9e7cd2a

Please sign in to comment.