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
// ## Modernizr Task | |
// config example: https://github.com/Modernizr/Modernizr/blob/master/lib/config-all.json | |
var gulp = require('gulp'); | |
var modernizr = require('modernizr'); | |
var fs = require('fs'); | |
gulp.task('modernizr', function(callback) { | |
'use strict'; | |
modernizr.build({ |
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
var istanbul = require('browserify-istanbul'); | |
module.exports = function(karma) { | |
'use strict'; | |
karma.set({ | |
basePath: '', | |
frameworks: [ | |
'jasmine', | |
'browserify' | |
], | |
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
<div class="tabpanel-1"> | |
<ul role="tablist"> | |
<li id="tab-1" role="tab" aria-controls="panel-1" aria-selected="true" tabindex="0">dashboard</a></li> | |
<li id="tab-2" role="tab" aria-controls="panel-2" aria-selected="false" tabindex="-1">account</a></li> | |
<li id="tab-3" role="tab" aria-controls="panel-3" aria-selected="false" tabindex="-1">services</a></li> | |
</ul> | |
<div id="panel-1" aria-labelledby="tab-1" role="tabpanel" aria-hidden="false"> | |
<p>dashboard landing content</p> | |
</div> | |
<div id="panel-2" aria-labelledby="tab-2" role="tabpanel" aria-hidden="true"> |
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'; | |
const View = require('./viewBase.js'); | |
new View({ | |
el: document.querySelector('a'), | |
model: {'foo': 'bar'} | |
}); |