Commit 7f72c38a authored by Boris Kocherov's avatar Boris Kocherov

ZipFileStorage: zipfilestorage distribute as separate file

parent e0dbabf6
...@@ -150,7 +150,6 @@ module.exports = function (grunt) { ...@@ -150,7 +150,6 @@ module.exports = function (grunt) {
'lib/uri/URI.js', 'lib/uri/URI.js',
'node_modules/uritemplate/bin/uritemplate.js', 'node_modules/uritemplate/bin/uritemplate.js',
'node_modules/lz-string/libs/lz-string.js', 'node_modules/lz-string/libs/lz-string.js',
'node_modules/jszip/dist/jszip.min.js',
// 'node_modules/moment/moment.js', // 'node_modules/moment/moment.js',
'lib/moment/moment-2.13.0.js', 'lib/moment/moment-2.13.0.js',
...@@ -171,7 +170,6 @@ module.exports = function (grunt) { ...@@ -171,7 +170,6 @@ module.exports = function (grunt) {
'src/jio.storage/uuidstorage.js', 'src/jio.storage/uuidstorage.js',
'src/jio.storage/memorystorage.js', 'src/jio.storage/memorystorage.js',
'src/jio.storage/zipstorage.js', 'src/jio.storage/zipstorage.js',
'src/jio.storage/zipfilestorage.js',
'src/jio.storage/dropboxstorage.js', 'src/jio.storage/dropboxstorage.js',
'src/jio.storage/davstorage.js', 'src/jio.storage/davstorage.js',
'src/jio.storage/gdrivestorage.js', 'src/jio.storage/gdrivestorage.js',
...@@ -187,6 +185,13 @@ module.exports = function (grunt) { ...@@ -187,6 +185,13 @@ module.exports = function (grunt) {
], ],
dest: 'dist/<%= pkg.name %>-<%= pkg.version %>.js' dest: 'dist/<%= pkg.name %>-<%= pkg.version %>.js'
// dest: 'jio.js' // dest: 'jio.js'
},
zipfile: {
src: [
'node_modules/jszip/dist/jszip.min.js',
'src/jio.storage/zipfilestorage.js'
],
dest: 'dist/zipfilestorage-with-jszip.js'
} }
}, },
uglify: { uglify: {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<title>JIO Qunit/Sinon Unit Tests</title> <title>JIO Qunit/Sinon Unit Tests</title>
<script src="../node_modules/rsvp/dist/rsvp-2.0.4.js"></script> <script src="../node_modules/rsvp/dist/rsvp-2.0.4.js"></script>
<script src="../dist/jio-latest.js"></script> <script src="../dist/jio-latest.js"></script>
<script src="../dist/zipfilestorage-with-jszip.js"></script>
<link rel="stylesheet" href="../node_modules/grunt-contrib-qunit/test/libs/qunit.css" type="text/css" media="screen"/> <link rel="stylesheet" href="../node_modules/grunt-contrib-qunit/test/libs/qunit.css" type="text/css" media="screen"/>
<script src="../node_modules/grunt-contrib-qunit/test/libs/qunit.js" type="text/javascript"></script> <script src="../node_modules/grunt-contrib-qunit/test/libs/qunit.js" type="text/javascript"></script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment