I hereby claim:
- I am tomdale on github.
- I am tomdale (https://keybase.io/tomdale) on keybase.
- I have a public key whose fingerprint is 2E8C 3BCE D5D0 939C 86AB 1B2E 2B57 2943 FC4D A5BF
To claim this, I am signing this object:
| function buildRecord(type, data, store) { | |
| var containerKey = 'model:' + type; | |
| var factory = store.container.lookupFactory(containerKey); | |
| var record = factory.create({ | |
| id: data.id, | |
| $data: data | |
| }); |
I hereby claim:
To claim this, I am signing this object:
| /*! | |
| handlebars v2.0.0-alpha.2 | |
| Copyright (C) 2011-2014 by Yehuda Katz | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| // from https://www.skylight.io | |
| import Ember from "ember"; | |
| import { test, moduleForComponent } from 'ember-qunit'; | |
| import Util from "app/system/util"; | |
| var run = Ember.run; | |
| moduleForComponent("billing-trial-status", "billing-trial-status component", { | |
| needs: [ |
| // before | |
| var displayAnnotation = config.displayAnnotation, | |
| width = config.width, | |
| axisHeight = config.axisHeight, | |
| barsLeftMargin = config.barsLeftMargin, | |
| barsRightMargin = config.barsRightMargin; | |
| // after | |
| var { displayAnnotation, |
| irhydra () { | |
| cd ~/irhydra | |
| command rm -f *.cfg *.asm | |
| command "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary" --no-sandbox \ | |
| --js-flags="--trace-hydrogen \ | |
| --trace-phase=Z \ | |
| --trace-deopt \ | |
| --code-comments \ | |
| --hydrogen-track-positions \ | |
| --redirect-code-traces" |
| // ========================================================================== | |
| // Project: Currencyconverter.converterController | |
| // Copyright: ©2009 My Company, Inc. | |
| // ========================================================================== | |
| /*globals Currencyconverter */ | |
| /** @class | |
| Converts one form of currency to another. |
| // dynamically apply a mixin specified in an object property | |
| var MyClass = SC.Object.extend({ | |
| extraMixin: null, | |
| foo: "bar", | |
| init: function() { | |
| this.mixin(this.extraMixin); | |
| arguments.callee.base.apply(this, arguments); | |
| }, |
| labelView: SC.LabelView.design({ | |
| layout: { centerX: 0, centerY: 0, width: 200, height: 18 }, | |
| textAlign: SC.ALIGN_CENTER, | |
| tagName: "h1", | |
| value: "Welcome to SproutCore!", | |
| // Adds 'didClick' as a display property | |
| displayProperties: ['didClick'], | |
| didClick: NO, |
| contentView: SC.SourceListView.design({ | |
| contentBinding: 'Authoring.reportTemplatesArrayController.content', | |
| selectionBinding: 'Authoring.reportTemplatesArrayController.selection', | |
| exampleView: SC.View.design({ | |
| classNames: 'sc-list-item-view'.w(), | |
| childViews: 'nameLabel'.w(), | |
| /** | |
| Add 'sel' class in render method. | |
| */ | |
| render: function(context) { |