Skip to content

Instantly share code, notes, and snippets.

Frank Treacy frank06

Block or report user

Report or block frank06

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
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Auction Service',
bidService: Ember.inject.service()
});
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend();
@frank06
frank06 / application.controller.js
Last active Apr 25, 2019
parent-child-communication
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend();
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
View components.item-display.js
import Ember from 'ember';
export default Ember.Component.extend({
isModelTwo: Ember.computed('model.id', function() {
return this.get('model.id') == 2;
})
});
We couldn’t find that file to show.
View failing_mr.js
db = require('riak-js').getClient()
db
.add([['catalogs', 'politics']])
.link({ bucket: 'books', keep: false })
.map(function(value) {
// ejsLog('/tmp/mapreduce', JSON.stringify(value));
value = Riak.mapValuesJson(value)[0];
return [
{
View middleware.js
var forms_lib = require('forms')
module.exports = function(forms) {
forms = forms || {};
return function(req, res, next) {
if (!req.session) {
next(new Error("Forms middleware requires connect.session middleware to work properly"));
return;
You can’t perform that action at this time.