zip-js 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +10 -1
- data/LICENSE.txt +1 -1
- data/README.md +0 -6
- data/app/assets/javascripts/zip.js +1 -3
- data/app/assets/javascripts/zipjs/zip-fs-full-es5.js +20141 -0
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/lib/zip-js/engine.rb +0 -6
- data/lib/zip-js/version.rb +1 -1
- data/lib/zip-js.rb +2 -3
- data/zip-js.gemspec +2 -2
- metadata +15 -24
- data/app/assets/javascripts/deflater-worker.js +0 -2
- data/app/assets/javascripts/inflate-worker.js +0 -2
- data/app/assets/javascripts/zipjs/deflate.js +0 -2060
- data/app/assets/javascripts/zipjs/inflate.js +0 -2155
- data/app/assets/javascripts/zipjs/z-worker.js +0 -153
- data/app/assets/javascripts/zipjs/zip-ext.js +0 -242
- data/app/assets/javascripts/zipjs/zip-fs.js +0 -541
- data/app/assets/javascripts/zipjs/zip.js +0 -966
- data/lib/zip-js/helper.rb +0 -20
data/lib/zip-js/helper.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
module ZipJs
|
2
|
-
module Helper
|
3
|
-
def deflater_worker_url
|
4
|
-
javascript_url('deflater-worker')
|
5
|
-
end
|
6
|
-
|
7
|
-
def inflate_worker_url
|
8
|
-
javascript_url('inflate-worker')
|
9
|
-
end
|
10
|
-
|
11
|
-
def zipjs_script_tag
|
12
|
-
javascript_tag <<-"SCRIPT"
|
13
|
-
zip.workerScripts = {
|
14
|
-
deflater: ["#{deflater_worker_url}"],
|
15
|
-
inflater: ["#{inflate_worker_url}"]
|
16
|
-
};
|
17
|
-
SCRIPT
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|