Add unsupported browser bar (fixes #17)

This commit is contained in:
Roman Hotsiy 2016-02-17 23:45:27 +02:00
parent 2656aa1501
commit ce5306f1de
2 changed files with 12 additions and 0 deletions

View File

@ -42,12 +42,14 @@ gulp.task('inlineTemplates', ['sass'], function() {
}); });
var JS_DEV_DEPS = [ var JS_DEV_DEPS = [
'lib/utils/browser-update.js',
'node_modules/zone.js/dist/zone-microtask.js', 'node_modules/zone.js/dist/zone-microtask.js',
'node_modules/reflect-metadata/Reflect.js', 'node_modules/reflect-metadata/Reflect.js',
'node_modules/babel-polyfill/dist/polyfill.js' 'node_modules/babel-polyfill/dist/polyfill.js'
]; ];
var JS_DEV_DEPS_MIN = [ var JS_DEV_DEPS_MIN = [
'lib/utils/browser-update.js',
'node_modules/zone.js/dist/zone-microtask.min.js', 'node_modules/zone.js/dist/zone-microtask.min.js',
'node_modules/reflect-metadata/Reflect.js', 'node_modules/reflect-metadata/Reflect.js',
'node_modules/babel-polyfill/dist/polyfill.min.js' 'node_modules/babel-polyfill/dist/polyfill.min.js'

View File

@ -0,0 +1,10 @@
/*eslint no-unused-vars: 0*/
'use strict';
var $buoop = { vs: {i:9, f:25, o:12.1, s:7}, c:2, test: true };
function $buo_f(){
var e = document.createElement('script');
e.src = '//browser-update.org/update.min.js';
document.body.appendChild(e);
}
try {document.addEventListener('DOMContentLoaded', $buo_f, false);}
catch(e){window.attachEvent('onload', $buo_f);}