Skip to content

Instantly share code, notes, and snippets.

View gkaran's full-sized avatar

George Karanikas gkaran

View GitHub Profile
@-moz-document domain("info.foodtecsolutions.com") {
table.dbobject-table, table.reportTable {
border-collapse: separate;
border-spacing: 0;
width: 100%;
color: #666;
}
.dbobject-table tr th, .dbobject-table tr td, .reportTable tr th, .reportTable tr td {
padding: 6px 15px;
}
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
import XSelectComponent from './x-select';
var isArray = Ember.isArray;
/**
* Used to wrap a native `<option>` tag and associate an object with
* it that can be bound. It can only be used in conjuction with a
* containing `x-select` component
*
@gkaran
gkaran / controllers.application.js
Created May 12, 2016 14:21
Test transition aborting
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});

Getter

Keep in mind that the getter will be created even for boolean types with a get prefix (instead of the is used usually in booleans)

public ##
#if($field.modifierStatic)
static ##
#end
$field.type ##
@gkaran
gkaran / application.controller.js
Last active February 27, 2016 16:18
Sideload example
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});