Skip to content

Instantly share code, notes, and snippets.

View kgish's full-sized avatar
Learning new stuff ...

Kiffin Gish kgish

Learning new stuff ...
View GitHub Profile
@kgish
kgish / gist:4a93d4d84324628f0a79
Created November 30, 2015 12:57
Emberjs: Getting another store from controller
App.FormController = Em.ObjectController.extend({
tagArray: Em.A(),
init: function() {
this.setTagArray();
this._super();
},
setTagArray: function() {
var _this = this;
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script>
<script src="http://builds.emberjs.com/tags/v1.7.0/ember.js"></script>
<meta charset="utf-8">