Open giscafer opened 7 years ago
IE8自定义指令参考: https://stackoverflow.com/questions/18293118/angularui-compatible-browsers
网友提供兼容IE8的ng1.4版本 https://github.com/fergaldoyle/angular.js-ie8-builds
When using $q promise methods catch or finally in IE8 use bracket notation instead of dot notation. Same goes for $http delete method. IE8 does not like dot notation with these reserved words.
// no
promise.catch(function(){});
// yes
promise['catch'](function(){});
SCRIPT1010: 缺少标识符 常见原因
SCRIPT1010: 缺少标识符 ,一般是在IE下会出现这个问题。 出现这个问题的原因主要有以下几点:
解决方案,参考 http://www.jianshu.com/p/85a4319e3bf4 http://blog.csdn.net/a324539017/article/details/52824189 http://blog.csdn.net/gua_381091614/article/details/50498811