Added manifest for iOS
This commit is contained in:
parent
2eed519fb1
commit
b27d8cfbd7
8
assets/min/cache.manifest
Normal file
8
assets/min/cache.manifest
Normal file
@ -0,0 +1,8 @@
|
||||
CACHE MANIFEST
|
||||
|
||||
# 1396383979640
|
||||
|
||||
assets/min/main.css
|
||||
assets/min/main.js
|
||||
assets/img/no_images.svg
|
||||
assets/img/password.svg
|
@ -42,6 +42,23 @@ module.exports = (grunt) ->
|
||||
files:
|
||||
'../assets/min/main.css': '../assets/min/main.css'
|
||||
|
||||
'file-creator':
|
||||
|
||||
manifest:
|
||||
"../assets/min/cache.manifest": (fs, fd, done) ->
|
||||
text = """
|
||||
CACHE MANIFEST
|
||||
|
||||
# #{ (new Date()).valueOf().toString() }
|
||||
|
||||
assets/min/main.css
|
||||
assets/min/main.js
|
||||
assets/img/no_images.svg
|
||||
assets/img/password.svg
|
||||
"""
|
||||
fs.writeSync fd, text
|
||||
done()
|
||||
|
||||
watch:
|
||||
|
||||
js:
|
||||
@ -68,6 +85,7 @@ module.exports = (grunt) ->
|
||||
grunt.task.run [
|
||||
'js'
|
||||
'css'
|
||||
'file-creator'
|
||||
]
|
||||
|
||||
grunt.registerTask 'js', [
|
||||
|
@ -16,6 +16,7 @@
|
||||
"grunt-contrib-cssmin": "~0.9.0",
|
||||
"grunt-contrib-clean": "~0.5.0",
|
||||
"grunt-contrib-watch": "~0.6.0",
|
||||
"load-grunt-tasks": "~0.4.0"
|
||||
"load-grunt-tasks": "~0.4.0",
|
||||
"grunt-file-creator": "~0.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<html manifest="assets/min/cache.manifest">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
||||
|
Loading…
Reference in New Issue
Block a user