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 config = { | |
watch: {}, | |
server: {} | |
}; | |
grunt.initConfig(config); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
grunt.loadTasks('tasks'); | |
grunt.registerTask('default', ['server', 'watch']); | |
}; |
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(window, angular) { | |
'use strict'; | |
/**** | |
* Simple composition factory for Angular 1x | |
*****/ | |
var composer = angular.module('composerModule', []); | |
composer.factory('Composer', Composer); |
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(Observable, eleId, dom) { | |
var ball = dom.getElementById(eleId), | |
mouseOverBall = Observable.fromEvent(ball, 'mousedown'), | |
mouseUp = Observable.fromEvent(dom, "mouseup"), | |
dragBall = Observable.fromEvent(dom, 'mousemove'), | |
resize = Observable.fromEvent(window, 'resize'), | |
stylesheet = dom.styleSheets[0], | |
baseY = ((css) => { | |
try { |
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(window, angular) { | |
'use strict'; | |
/** | |
* Simple list filter without "bothering" angular $scope | |
* I used OLOO as a OO Js style (instead of the classic prototypal inheritance) | |
*/ | |
var listFilter = angular.module('listFilter', []); |
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(window, angular) { | |
'use strict'; | |
/** | |
* | |
* The `ariaLive` module provides a service for running aria live announcements. | |
* It creates an empty paragraph only "visible" to screen readers. | |
* | |
*/ |
NewerOlder