feat compatibility: Polyfill javascript

This commit is contained in:
Mahdi Dibaiee 2015-09-13 20:07:29 +04:30
parent 59f7991c10
commit f06d521bbf
8 changed files with 13 additions and 3 deletions

View File

@ -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/**']
}] }]
} }

View File

@ -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>

View File

@ -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

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -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>

View File

@ -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

File diff suppressed because one or more lines are too long