Uncaught ReferenceError: Ember is not defined - Issue


I’m creating an application at the moment for the first time but I’m getting the warning error of ‘Uncaught ReferenceError: Ember is not defined’.

Here’s my code: <!DOCTYPE html><html> <head> <title>An Ember dice roller</title> - Pastebin.com and var Roller = Ember.Application.create({ LOG_TRANSITIONS: true, LOG_BIN - Pastebin.com


It’s not a direct anwser to your question but you use a very old version of ember. I think you should use the last version and if you can, use Ember-cli. This tool will help you to structure your project and avoid this type of error.

To anwser you. Handlebar is the template for ember so you must define ember before handelbar. And i think you should define JQuery after ember and handlebar .