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 9185035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:11:54+00:00 2026-06-17T19:11:54+00:00

While it doesn’t become simpler than this: fiddle I can’t get the template to

  • 0

While it doesn’t become simpler than this: fiddle I can’t get the template to be rendered. I’m obviously missing something simple but have been starring at this for hours now. Can somebody spot the error?

When debugging in chrome I can see that the View is entered as well as the controller, but the template doesn’t seem to come to life. I have several other ember tests running on my laptop that render just fine.

<script type="text/x-handlebars" data-template-name="index">
    <h1>Application</h1>

    <p>Your content here.</p>

    {{outlet}}

</script>

Albumartist = Ember.Application.create();

Albumartist.Router.map(function(match) {
    this.route('index', {path: '/'});
});

Albumartist.IndexView = Ember.View.extend({
});

Albumartist.IndexRoute = Ember.Route.extend({
});

Albumartist.IndexController = Ember.Controller.extend({
    renderTemplate: function(controller, model){
        console.log('hi');
    }
});
  • 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-17T19:11:56+00:00Added an answer on June 17, 2026 at 7:11 pm

    The problem is simple: You chose Ember as a Framework didn’t include jQuery, which is necessary for Ember to run. I’ve updated the Fiddle to include Ember and Handlebars as a resource and jQuery as a Framework.

    Also, since Router v2.1 you don’t have to pass the match argument to the router:

    Albumartist.Router.map(function() { // no match argument needed anymore
        this.route('index', {path: '/'});
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I searched for a while and can't get an answer. Why this doesn't work?
I think i am doing everything correctly.....but obviously i am missing something, my while
Why does this work well: cout << foo; While this doesn't? (&cout)->operator<<(foo); It works
I've looked for a while on this subject and there doesn't seem to be
I don't undestand why this script doesn't work in IE, while it works in
While this doesn't apply to my present situation, I'm sure we've all been there
I've been searching for a while and there doesn't seem to be a way.
The while loop I have while reading in from a file doesn't break. I'm
While trying to add value into foreign key field, if same data doesn't exist
It seems Linq2sql doesn't know how to construct the TSQL while you transform linq2sql

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.