IE 및 Chrome에서 올바르게 작동하지만 Firefox (9.0.1 및 10.0)에서 실패하는 매우 간단한 Ember.js 앱이 있습니다. 이유가 뭐야? 파이어 폭스에서Firefox에서이 Ember.js 앱이 실패하는 이유는 무엇입니까?
<!doctype html>
<html>
<head>
<title>Template Name</title>
</head>
<body>
<script type="text/x-handlebars" data-template-name="my-template">
{{App.user.name}}
</script>
<div id="container"></div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/emberjs/ember.js/ember-0.9.4.js"></script>
<script type="text/javascript">
window.App = Ember.Application.create();
App.user = Ember.Object.create({
name: 'John'
});
App.view = Ember.View.create({
templateName: 'my-template'
});
App.view.appendTo('#container');
</script>
</body>
</html>
발생하는 오류는 무엇입니까? – Veebs