我正在測試我的應用程序,並且它在Chrome,FF和Safari中工作,但不會在IE8中加載。我看到一個空白屏幕和開發人員工具在js文件的開頭報告錯誤。 我得到的錯誤是Emberjs IE8對象預計錯誤
Object expected at certilogo-f7ce...js at line 6 character 1
前6行的js文件是:
"use strict";
/* jshint ignore:start */
/* jshint ignore:end */
define('certilogo/adapters/application', ['exports', 'ember-data', 'certilogo/config/environment'], function (exports, DS, ENV) {
6號線是一個開始define(....)
。
我使用的是emberjs 1.13.9和ember-data版本1.13.11 根據文檔emberjs版本1.13.x應該支持IE8。 什麼原因導致錯誤,我該怎麼辦才能解決?
謝謝。