Skip to content

Instantly share code, notes, and snippets.

Godfrey Chan chancancode

Block or report user

Report or block chancancode

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View loading-error-substates-guide.md

Guide to loading/error events and substates

In addition to the techniques described in the Asynchronous Routing Guide, the Ember Router provides powerful yet overridable conventions for customizing asynchronous transitions between routes by making use of error and loading substates.

loading substates

View j_ruby.rb
Kernel.class_eval do
#FIXME this is terrible
def static(meth)
define_singleton_method(meth) do |*args, &b|
new.send meth, *args, &b
end
meth
end
def abstract(meth)
@machty
machty / new-router-examples.md
Last active May 2, 2018
How to do cool stuff with the new Router API
You can’t perform that action at this time.