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
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| stuff: { | |
| dest: 'foo/', | |
| ext: '.bar', | |
| }, | |
| log_files: { | |
| my_target: { | |
| files: grunt.file.expandMapping('**/*.js', '<%= stuff.dest %>', { |
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
| angular.module('bDatepicker', []). | |
| directive('bDatepicker', function(){ | |
| return { | |
| require: '?ngModel', | |
| restrict: 'A', | |
| link: function($scope, element, attrs, ngModelCtrl) { | |
| var originalRender, updateModel; | |
| updateModel = function(ev) { | |
| return $scope.$apply(function() { | |
| return ngModelCtrl.$setViewValue(ev.date); |
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
| #(define paper-size "letter") | |
| \include "ly-score.ly" | |
| #(set-paper-staff-size scorepap 13) | |
| #(ly-score:process "wind-quintet" | |
| `((copyright "Copyright 2012, Mark Witmer") (title "Wind Quintet") (composer "Mark Witmer")) | |
| `((title "Serpents") (tagline "Copyright 2012") (composer "Mark Witmer")) | |
| `(("mvt" ())) | |
| '(StaffGroup "Main Score" flute oboe clarinet-in-b-flat horn bassoon) | |
| #t #t)e |
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
| (function addXhrProgressEvent($) { | |
| var originalXhr = $.ajaxSettings.xhr; | |
| $.ajaxSetup({ | |
| progress: function() { console.log("standard progress callback"); }, | |
| xhr: function() { | |
| var req = originalXhr(), that = this; | |
| if (req) { | |
| if (typeof req.addEventListener == "function") { | |
| req.addEventListener("progress", function(evt) { | |
| that.progress(evt); |