Skip to content

Instantly share code, notes, and snippets.

@jonstorer
Created September 7, 2012 02:31
Show Gist options
  • Save jonstorer/3662650 to your computer and use it in GitHub Desktop.
Save jonstorer/3662650 to your computer and use it in GitHub Desktop.
spinejs
<html>
<div id='my-app-id'></div>
<script type="text/javascript">
var MyApp = require("my_app");
$(function(){ new MyApp({ el: $("#my-app-id") }) });
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment