chaplinjs / chaplin-boilerplate-plain

Boilerplate application for the Chaplin.js library – written in plain JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boilerplate does not work (tried chrome/IE)

alekbarszczewski opened this issue · comments

Just downloaded Chaplin plain js boilerplate and copied it to my www dir.
When I enter localhost/chaplin on chrome v 25.0.1364.172 m only html from index.html is shown:

Chaplin Boilerplate Application

This Chaplin example provides an app scaffold using RequireJS as module loader. Handlebars is used as templating engine. The templates are loaded on demand using the RequireJS text plugin.

There is not any 'Hello World!' message which should appear.

When I enter localhost/chaplin in IE 9.0 page is immidiately redirected to http://localhost/#chaplin/ which just lists all files in http://localhost (www dir).

I used pure Backbone.js before and had not problems with that - so maybe I done something wrong (well I just downloaded chaplin boilerplate and unziped it to www dir so I guess I have done it correctly :) or this is kind of bug...

Edit: Fixed problem using pushState: false option.