Skip to content

Commit

Permalink
Whoops, forgot to update build, and while I'm at it getting Grunt to …
Browse files Browse the repository at this point in the history
…do it for me next time
  • Loading branch information
David Simon committed Oct 1, 2013
1 parent 8736b30 commit 4ac637c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function (grunt) {
src = src.replace(/\s{2,}(\r|\n|\s){2,}$/gm, '');
return src;
};

grunt.registerMultiTask('concat', 'Concatenate files.', function () {
// Merge task-specific and/or target-specific options with these defaults.
var options = this.options({
Expand Down Expand Up @@ -141,7 +141,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
// Default task(s).
grunt.registerTask('test', ['jshint', 'concat:debug', 'karma']);
grunt.registerTask('default', ['test']);
grunt.registerTask('default', ['test', 'prod']);
//grunt.registerTask('test', ['karma']);
grunt.registerTask('debug', ['concat:debug']);
grunt.registerTask('prod', ['concat:prod', 'uglify']);
Expand Down
13 changes: 6 additions & 7 deletions build/secure-ng-resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* secure-ng-resource JavaScript Library
* https://github.com/AmericanCouncils/secure-ng-resource/
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
* Compiled At: 08/29/2013 13:44
* Compiled At: 10/01/2013 17:44
***********************************************/
(function(window) {
'use strict';
Expand Down Expand Up @@ -189,9 +189,8 @@ function($q, $location, $cookieStore, $injector, $rootScope, $timeout) {
.factory('openIDAuth', [
'$q',
function($q) {
var OpenIDAuth = function (host, beginPath) {
this.host = host;
this.beginPath = beginPath;
var OpenIDAuth = function (authUrl) {
this.authUrl = authUrl;
};

OpenIDAuth.prototype = {
Expand Down Expand Up @@ -233,7 +232,7 @@ function($q) {
popup.document.write(
'<form id="shimform"' +
' method="post"' +
' action="' + this.host + this.beginPath + '">' +
' action="' + this.authUrl + '">' +
'<input type="hidden" name="openid_identifier" id="oid" />' +
'</form>'
);
Expand Down Expand Up @@ -273,8 +272,8 @@ function($q) {
}
};

var OpenIDAuthFactory = function(host, beginPath) {
return new OpenIDAuth(host, beginPath);
var OpenIDAuthFactory = function(authUrl) {
return new OpenIDAuth(authUrl);
};
return OpenIDAuthFactory;
}]);
Expand Down
2 changes: 1 addition & 1 deletion build/secure-ng-resource.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ac637c

Please sign in to comment.