Skip to content

Instantly share code, notes, and snippets.

@chomwitt
Last active December 12, 2015 09:39
Show Gist options
  • Save chomwitt/4753510 to your computer and use it in GitHub Desktop.
Save chomwitt/4753510 to your computer and use it in GitHub Desktop.
app.js --------------------------------
ss.client.define('webturtle', {
view: 'webturtle.html',
css: ['libs/reset.css', 'mainwt.css'],
code: ['libs/jquery.min.js', 'webturtle'],
tmpl: '*'
});
cliet/view/webturtle.html--------------
<body>
<p> a simple template socket example</p>
<script type="text/x-handlebars">
<p> {{firstName}} , {{lastName}}</p>
</script>
</body>
cliet/code/webturtle/webturtle.js---------------
var App = Em.Application.create();
App.ApplicationController = Ember.Controller.extend({
firstName: "Trek",
lastName: "Glowacki"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment