Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9220745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:25:14+00:00 2026-06-18T03:25:14+00:00

Just started learning Ember, following a few examples, and the very basic stuff fails

  • 0

Just started learning Ember, following a few examples, and the very basic stuff fails on me.

I’m getting Uncaught ReferenceError: DS is not defined in Chrome.

I’m including Handlebars just before Ember.js

HTML

<html>
  <head>
    <title>Ember Test App</title>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
    <script type="text/javascript" src="js/handlebars.js"></script>
    <script type="text/javascript" src="js/ember.js"></script>

  </head>
  <body>
    <div class="container">
      <div class="row">
        <div class="span8 offset2" id="app">
        </div>
      </div>
    </div>

  <script type="text/x-handlebars" data-template-name="application">
    <h1>Ember App</h1>
    {{outlet}}
  </script>

  <script type="text/javascript" src="app.js"></script>
  </body>
</html>

App.js

window.App = Ember.Application.create({
  rootElement: $("#app")
});

App.Store = DS.Store.extend({
  revision: 11
});

Solved – TIP:

Ensure that ember-data is included after ember itself:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="js/handlebars.js"></script>
<script type="text/javascript" src="js/ember.js"></script>
<script type="text/javascript" src="js/ember-data.js"></script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:25:15+00:00Added an answer on June 18, 2026 at 3:25 am

    You need ember-data to use DS.Store. I have uploaded it here for one of my jsFiddles to work cause I couldnt find it anywhere else.

    Note however that you do not need ember-data to use ember.

    EDIT:

    Had to delete the one I had uploaded so just get it from http://github.com/emberjs/data/downloads

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just started learning about SQL, and doing very basic stuff using SQLPlus. I've literally
Just started learning Win 8 app development and I'm following the basic tutorial for
I just started learning about pointers in C++, and I'm not very sure on
I just started learning Common Lisp a few days ago, and I'm trying to
Just started learning Java, wrote a basic program that calculates the area of user
I just started learning Zend. I managed to get the basic working (using zf
I just started learning Objective-C and OOP ... so I have very stupid question
Just started learning Haskell a few days ago and I've come across a few
I just recently started learning Ember (so far with a lot of trouble). I'm
I just started learning C and am not sure what the issue is here.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.