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
class EmberAddonReferenceContributor : JSModuleReferenceContributor { | |
override fun getCommonJSModuleReferences(unquotedRefText: String, host: PsiElement, offset: Int, provider: PsiReferenceProvider?) = | |
emptyArray<PsiReference>() | |
override fun getAllReferences(unquotedRefText: String, host: PsiElement, offset: Int, provider: PsiReferenceProvider?): Array<FileReference> { | |
return EmberAddonFileReferenceSet(unquotedRefText, host, offset, provider).allReferences | |
} | |
override fun isApplicable(host: PsiElement) = host is ES6FromClause | |
} |
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
setopt prompt_subst | |
export LSCOLORS=ExGxFxDxCxHxHxCbCeEbEb | |
ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[blue]%}git%{$reset_color%}:" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}+" | |
ZSH_THEME_GIT_PROMPT_BRANCH="" | |
ZSH_THEME_GIT_PROMPT_SEPARATOR="" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" |
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
@builtin "string.ne" | |
@builtin "whitespace.ne" | |
MustacheStatement -> OPEN _ _Path (__ _Param):* (__ Hash):? _ CLOSE {% (data, location) => ({ | |
type: 'MustacheStatement', | |
path: data[2], | |
params: data[3].map(it => it[1]), | |
hash: data[4] && data[4][1], | |
range: { start: location, end: data[6].range.end }, | |
}) %} |
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
'use strict'; | |
const broccoliTestHelper = require('broccoli-test-helper'); | |
const expect = require('chai').expect; | |
const EmberApp = require('../../../../lib/broccoli/ember-app'); | |
const MockCLI = require('../../../helpers/mock-cli'); | |
const Project = require('../../../../lib/models/project'); | |
const buildOutput = broccoliTestHelper.buildOutput; |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
foo: 1, | |
actions: { | |
inc() { | |
this.set('foo', this.get('foo') + 1); | |
} |
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
ember-cli:project getProjectRoot /private/tmp/mocha-bisect -> /private/tmp/mocha-bisect | |
ember-cli:cli/index leek: { trackingCode: 'UA-49225444-1', globalName: 'ember-cli', name: '8ec2e5d0-72fd-4cb2-b7cb-496cf7806797', version: '2.13.0-beta.1', silent: undefined } | |
ember-cli:cli testing false | |
ember-cli:project looking for package.json starting at /private/tmp/mocha-bisect | |
ember-cli:project found package.json at /private/tmp/mocha-bisect | |
ember-cli:project project name: mocha-bisect | |
ember-cli:project init root: /private/tmp/mocha-bisect | |
ember-cli:project bowerrc path: /private/tmp/mocha-bisect/.bowerrc | |
ember-cli:project bowerDirectory: bower_components | |
ember-cli:project nodeModulesPath: /private/tmp/mocha-bisect/node_modules |
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 escape from 'js-string-escape'; | |
interface TestGenerator { | |
suiteHeader(suiteName: string): string | |
suiteFooter(): string | |
test(testName: string, passed: boolean, assertionMessage: string): string | |
} | |
class QUnitTestGenerator implements TestGenerator { | |
suiteHeader(suiteName) { |
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' | |
}); |