- Requires underscorejs. download
- After a spec finishes running it logs any global scope pollution that occurred.
- After test runner has finished it logs a summary of the global scope pollution.
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 { | |
Component, Input, DynamicComponentLoader, ElementRef, | |
ViewContainerRef, ViewChild, Directive | |
} from 'angular2/core'; | |
import * as _ from 'lodash'; | |
import {FormlyConfig, IFieldConfig} from '../main'; | |
@Directive({ | |
selector: '[child-host]', |
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
/* | |
Script: accordian.js | |
Author: | |
Caleb Kniffen, <http://kniffenwebdesign.com> | |
Version: | |
1.6 | |
Required Files: |
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
/* global _, Backbone */ | |
(function(_, Backbone){ | |
// Helper function to correctly set up the prototype chain, for subclasses. | |
// Similar to `goog.inherits`, but uses a hash of prototype properties and | |
// class properties to be extended. | |
Backbone.deepInheritableProperties = ['options', 'defaults']; | |
var inherits = function(protoProps, staticProps) { | |
var parent = this; | |
var child; |
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
module.exports = function(grunt) { | |
var handlebars = require('handlebars'); | |
var path = require('path'); | |
var registerPartials = function(partialsDir){ | |
var partials = grunt.file.expand(partialsDir + '**/*.html'); | |
partials.forEach(function(partial){ | |
var partialName = partial.replace(partialsDir, '').replace(path.extname(partial), ''); | |
handlebars.registerPartial(partialName, grunt.file.read(partial)); |
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
define([ | |
'lodash', | |
'backbone' | |
], function(_, Backbone){ | |
var Nerve = { | |
ioClient: null, | |
init: function(ioClient){ | |
Nerve.ioClient = ioClient; | |
} | |
}; |