feat compatibility: Polyfill javascript
This commit is contained in:
parent
59f7991c10
commit
f06d521bbf
@ -77,7 +77,7 @@ module.exports = function(grunt) {
|
|||||||
expand: true,
|
expand: true,
|
||||||
cwd: 'src',
|
cwd: 'src',
|
||||||
dest: 'build',
|
dest: 'build',
|
||||||
src: ['index.html', 'manifest.webapp',
|
src: ['index.html', 'manifest.webapp', 'polyfill.js',
|
||||||
'fonts/**', 'img/**', 'js/libs/**', 'icon/**']
|
'fonts/**', 'img/**', 'js/libs/**', 'icon/**']
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
<div id='wrapper'></div>
|
<div id='wrapper'></div>
|
||||||
|
|
||||||
|
<script src='polyfill.js'></script>
|
||||||
<script src='main.js'></script>
|
<script src='main.js'></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.1.0",
|
"version": "1.0.0",
|
||||||
"name": "Hawk",
|
"name": "Hawk",
|
||||||
"description": "Keep an eye on your files with a full-featured file manager",
|
"description": "Keep an eye on your files with a full-featured file manager",
|
||||||
"launch_path": "/index.html",
|
"launch_path": "/index.html",
|
||||||
|
4
build/polyfill.js
Normal file
4
build/polyfill.js
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
<div id='wrapper'></div>
|
<div id='wrapper'></div>
|
||||||
|
|
||||||
|
<script src='polyfill.js'></script>
|
||||||
<script src='main.js'></script>
|
<script src='main.js'></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.1.0",
|
"version": "1.0.0",
|
||||||
"name": "Hawk",
|
"name": "Hawk",
|
||||||
"description": "Keep an eye on your files with a full-featured file manager",
|
"description": "Keep an eye on your files with a full-featured file manager",
|
||||||
"launch_path": "/index.html",
|
"launch_path": "/index.html",
|
||||||
|
4
src/polyfill.js
Normal file
4
src/polyfill.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user