This file contains hidden or 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
<i class="file {{data.extension}}" on-click="emitClick()"> | |
<span class="folder-name">{{data.basename}}</span> | |
</i> |
This file contains hidden or 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
<div class="fancy_checkbox"> | |
<div class="box {{checked}}"></div> | |
</div> |
This file contains hidden or 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
var chokidar = require('chokidar'); | |
var watcher = new chokidar.FSWatcher({ | |
usePolling: false, | |
useFsEvents: true, | |
// changing to false makes it work | |
ignoreInitial: true, | |
}); | |
watcher.add('/Users/vojta/Code/karma/test/e2e/basic'); |
This file contains hidden or 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
var fs = require('q-io/fs'); | |
var q = require('q'); | |
var ignoreNodeDirectory = function(path) { | |
return path.indexOf('src/node/') === -1; | |
}; | |
var EXPORT_REGEXP = /export/g; |
This file contains hidden or 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
export class Greeter { | |
} |
This file contains hidden or 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
var served = function(file) { | |
return {pattern: file, included: false}; | |
}; | |
var included = function(file) { | |
return {pattern: file, included: true}; | |
}; | |
module.exports = function(config) { | |
config.set({ |
This file contains hidden or 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
// Karma configuration | |
// Generated on Wed Nov 06 2013 10:36:01 GMT+0100 (Paris, Madrid) | |
module.exports = function (config) { | |
config.set({ | |
// base path, that will be used to resolve files and exclude | |
basePath: '', | |
This file contains hidden or 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
if (action.isArray) { | |
if (!angular.isArray(data)) { | |
throw $resourceMinErr('badcfg', 'Error in resource configuration. Expected response to contain an array but got an object'); | |
} | |
value.length = 0; | |
forEach(data, function(item) { | |
value.push(new Resource(item)); | |
}); | |
} else { |
This file contains hidden or 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
// DSL - these migt be provided by protractor | |
// `protractor` is globally provided instance of Provider (connected webdriver instance) | |
// `protractor.driver` can be the wrapper webdriver instance | |
var navigateTo = protractor.get; | |
var element = protractor.getElementByCssSelector; | |
var button = function(label) { | |
return protractor.getElementByCssSelector(':button:contains("' + label + '")'); | |
}; | |
// We should provide some syntactic sugar for defining custom helpers. |
This file contains hidden or 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
##teamcity[enteredTheMatrix] | |
##teamcity[testSuiteStarted nodeId='1' parentNodeId='0' name='karma.conf.js' nodeType='config' locationHint='config:///Users/vojta/Code/angular.dart/karma.conf.js'] | |
##teamcity[testSuiteStarted nodeId='2' parentNodeId='1' name='Chrome 29.0.1530 (Mac OS X 10.8.4)' nodeType='browser'] | |
##teamcity[testCount count='307'] | |
##teamcity[testStarted nodeId='3' parentNodeId='2' name='MockHttp should replay an http request' nodeType='test' locationHint='test://MockHttp should replay an http request'] | |
##teamcity[testFinished nodeId='3' duration='5'] | |
##teamcity[testStarted nodeId='4' parentNodeId='2' name='MockHttp should replay an http request which is expected multiple times' nodeType='test' locationHint='test://MockHttp should replay an http request which is expected multiple times'] | |
##teamcity[testFinished nodeId='4' duration='1'] | |
##teamcity[testStarted nodeId='5' parentNodeId='2' name='MockHttp should throw an exeception on assertAllGetsCalled when not all expected GETs were called' nodeType |