Created
December 18, 2014 22:04
-
-
Save devdays/d7a8d361fa724fc8792c to your computer and use it in GitHub Desktop.
Single Page App - Sammy Url Params
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.get('#/parseme/:word', function (context) { | |
context.app.swap(''); | |
context.$element().append('<h1>' + this.params['word'] + '</h1>'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment