GithubHelp home page GithubHelp logo

linemanjs / lineman-ember-template Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 8.0 1.12 MB

Clone this template to get started with Ember using Lineman

Home Page: linemanjs.com

License: MIT License

JavaScript 94.00% CSS 0.19% Harbour 0.31% CoffeeScript 5.50%

lineman-ember-template's People

Contributors

abwinkler999 avatar davemo avatar jlsuttles avatar searls avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lineman-ember-template's Issues

Template Compilation

I'm not sure if this is a lineman issue or an Ember issue, but I'm getting very inconsistent results with handlebars recompilation. It always fails silently to recompile when I edit hello.hb to add a new div (for example). Lineman sees the change:

Running "watch" task
Waiting...OK
>> File "app/templates/hello.hb" changed.

Running "handlebars:compile" (handlebars) task
File "generated/template/handlebars.js" created.

Running "concat:js" (concat) task
File "generated/js/app.js" created.

Running "watch" task
Waiting...

The page does reroute to http://localhost:8000/#/hellos/1 but the template in the browser doesn't appear and I get a white screen. There are no console errors, either, just that deprecation warning:

screenshot_20_05_2013_20_47-2

I'm using lineman 0.7.0. Any thoughts before I start updating Ember? :D

Initial template compilation not working?

Steps to reproduce:

  • Clone project.
  • Change into project and run npm install.
  • Run lineman run.
  • Go to http://localhost:8000 and witness a blank page.
  • Open a handlebars template, e.g. app/templates/hello.hb and make a trivial edit.
  • Check in the console and notice that ember_handlebars:compile ran.
  • Refresh browser and see correctly rendered content.

I seems to me like lineman run is not running ember_handlebars:compile as expected. I've played around with order append/prepend etc with no luck.

Any suggestions?

Update to vendor js?

Hi Guys

newbie to js web dev here.

Thank you so much for making this!

I was wondering if there's anything I should worry about if I decide to replace the vendor ember.js file with the latest (1.5.2)?

Thanks!

Handlebars templates not recompiling

Here's what happens: I clone this repo, run npm install and lineman run. If I edit app/templates/hello.hb, before I run lineman run, my changes show up when I visit http://localhost:8000/#/hellos/1. But if I start lineman run and then edit said template and refresh the page, nothing changes in the browser.

What I do see: (a) lineman recompiling my templates (see code below), and (b) in /generated/tempate/handlebars.js I see the line I added to the file.

What I don't see: even if I open the url in a new browser, I don't see the change I made to the html.

Does this work right for you? Any thoughts about what I might be doing wrong? (Worth noting: I have written an app using Lineman and Angular, so I was able to get things working elsewhere! ๐Ÿ˜„)

Running "watch" task
Waiting...

OK
>> File "app/templates/hello.hb" changed.

Running "ember_handlebars:compile" (ember_handlebars) task
File "generated/template/handlebars.js" created.

Running "watch" task
Waiting...OK
>> File "app/templates/hello.hb" changed.

Running "ember_handlebars:compile" (ember_handlebars) task
File "generated/template/handlebars.js" created.

Running "watch" task
Waiting...

Vendor JS out of date

The generated project ships with Ember 1.0, while the most recently released version is 1.3.2. Are there plans to upgrade this, or is this left up to the user?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.