Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View kmiyashiro's full-sized avatar
🐻

Kelly Miyashiro kmiyashiro

🐻
View GitHub Profile
@kmiyashiro
kmiyashiro / controllers.application.js
Last active February 12, 2020 04:00 — forked from sduquej/controllers.application.js
Editing array of strings
import Ember from 'ember';
export default Ember.Controller.extend({
primitiveFruits: ['banana' ,'apple'],
wrappedFruits: [{name: 'banana'}, {name: 'apple'}],
printPrimitiveFruits() {
console.log(this.get('primitiveFruits'));
},
printWrappedFruits() {
@kmiyashiro
kmiyashiro / layout2.jade
Created August 11, 2011 18:50 — forked from monokrome/layout2.jade
HTML5 Boilerplate Conditional comments in Jade
!!! 5
//if lt IE 7
html(class="no-js ie6 oldie", lang="en")
//if IE 7
html(class="no-js ie7 oldie", lang="en")
//if IE 8
html(class="no-js ie8 oldie", lang="en")
// [if gt IE 8] <!
html(class="no-js", lang="en")
// <![endif]
!!! 5
//if lt IE 7 html(class="no-js ie6 oldie", lang="en")
//if IE 7 html(class="no-js ie7 oldie", lang="en")
//if IE 8 html(class="no-js ie8 oldie", lang="en")
//if gt IE8 <!--> <html class="no-js" lang="en"> <!--<![endif]
head
title= title