Skip to content

Instantly share code, notes, and snippets.

⛳️
Golfing whenever possible

Kiffin Gish kgish

⛳️
Golfing whenever possible
Block or report user

Report or block kgish

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kgish
kgish / gist:4a93d4d84324628f0a79
Created Nov 30, 2015
Emberjs: Getting another store from controller
View gist:4a93d4d84324628f0a79
App.FormController = Em.ObjectController.extend({
tagArray: Em.A(),
init: function() {
this.setTagArray();
this._super();
},
setTagArray: function() {
var _this = this;
View index.html
<!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">
You can’t perform that action at this time.