-
Other
- http://emberjs.jsbin.com/rwjblue/251/edit?html,js,output - Opening a window and communicate with it.
- http://emberjs.jsbin.com/rwjblue/55/edit - Using liquid-fire animations in globals mode.
- http://emberjs.jsbin.com/rwjblue/151/edit?js,output - Modify computed dependent keys after initialization.
-
POJO's
- http://emberjs.jsbin.com/rwjblue/253/edit?js,output - Defining computed properties on a POJO.
-
Routing
- http://emberjs.jsbin.com/rwjblue/254/ - Shows route hook ordering.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
filetype off " required! | |
filetype plugin indent on " required! | |
syntax on | |
set encoding=utf-8 | |
if has("gui_running") | |
set guifont=Monaco:h13 | |
set guioptions-=r | |
set guioptions-=L | |
set transparency=10 |
#字幕规格指导
- 句号和逗号都用空格代替(根据@Ling和@Lin的讨论)
- 使用分号
- 使用问号
- 使用感叹号
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict' | |
let QUnit = global.QUnit = require('qunitjs') | |
let qe = require('qunit-extras') | |
qe.runInContext(global) | |
QUnit.module('Math') | |
QUnit.test('pow', function(assert) { | |
let result = Math.pow(2, 2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:9aaa56a65db5dee4b72ed3dcbca0acb157c6bb103a4ba3ed90af6c0628c16b6f" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){return !this})() && process.exit(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){return !this})() && process.exit(1) |
I hereby claim:
- I am mko-io on github.
- I am mko_io (https://keybase.io/mko_io) on keybase.
- I have a public key ASCUPzxpVbyOTIfC6YWbHAfpQXWCB-xLahWLAIB1VXqhnAo
To claim this, I am signing this object: