Created
September 18, 2012 02:14
-
-
Save tbranyen/3740887 to your computer and use it in GitHub Desktop.
boostrapping
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
<!-- Bootstrap data. --> | |
<script> | |
require(["main"], function() { | |
var news = require("app").news; | |
// Parse in the response and load into News. | |
news.reset({{{data}}}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment