Kasper Tidemann - human, developer, businessman, man of the world.
From our hands we give.

Month: June, 2013

Where are the records stored in Ember Data?, part 2

Notice: since the time of writing, this has been changed in Ember Data. Please take a look at this post instead. When working with Ember Data version 0.13, you might want to inspect the records that are stored locally in the browser for debugging purposes or just for peeking at the internals of the persistence […]

Handling contenteditable in Ember.js via Ember.ContenteditableView

In web development, the use of an <input> field is limited to single-line input such as a username or password field. But perhaps you want to make a web-based text editor, an auto-expanding description field or something similar? For that purpose, you could use a <div> element with its contenteditable attribute set to "true": <div […]

meeho.js and Ember Hot Seat

I’ve just been interviewed by DeVaris Brown for the second episode of the Ember Hot Seat series coming out later this week. During the interview, I talk about my experiences as a newcomer to Ember.js, I try to give some advice on how to get started etc. I also mention a framework I worked on […]

How to fix the "Implicit textOnly for `script` and `style` is deprecated." error in Jade

If you’re using Jade with Node.js in a project, chances are you’re seeing this deprecation warning these days: Implicit textOnly for `script` and `style` is deprecated. Use `script.` or `style.` instead. Unfortunately, the error message is not too helpful, lacking references to files and line numbers. What it means is that in your templates, whenever […]

How to make Ember.js use history states for routing, part 2

Since the change to the new, current router in Ember.js, the configuration of the router has changed a bit. Now, in order to make Ember.js use history states for routing, all you need is to reopen the App.Router class: App.Router.reopen({   location: ‘history’ }); The above will enable support for history states in your application. Notice: […]

Ember Weekly

These days, as the framework matures and with a stabilized version of Ember Data on the way, the Ember.js community is blooming with initiatives covering documentation, how-to’s, widgets etc. On the news front, Ember Weekly is worth signing up for. Ember Weekly is a newsletter that recaps what has happened in the community on a […]

Setting the page title based on routes in Ember.js

If you’re looking for a simple way to set the page title based on the routes in your Ember.js application, you can reopen the Em.Route class: Em.Route.reopen({   activate: function() {     this._super();     document.title = this.routeName;   } }); When calling this.routeName in the above chunk of code, the dot notation version of the route (also called the […]

Ember 101 and Embercasts

Recently, two new Ember.js tutorial sites have seen the light of day. The first is Ember 101 by Ryan Florence, the author of ember-tools. In his screencasts, Ryan is focusing on the important basics of Ember.js, including building routes and displaying data. The second is embercasts.com by Ember.js core member, Erik Bryn. Erik focuses on […]

Handlebars 1.0.0 has been released

Handlebars.js has now officially hit the first stable release, version 1.0.0 (which is technically version 1.0.12 on the 1.0.0 branch). The release containts mostly bug fixes and minor improvements – please refer to the release notes for additional details.

The new Ember.js Getting Started guide

Trek Glowacki has recently finished the brand new Getting Started guide for Ember.js. It’s based on the TodoMVC application and features lots of common use cases and patterns for showing different kinds of data. Even if you’re a seasoned embereƱo, the guide is worth reading.

Kasper Tidemann