From 4b941d904dda3f3e32d3a00c4b672cfc7672d0ca Mon Sep 17 00:00:00 2001 From: Sam Bernet Date: Sun, 24 Jan 2016 02:46:26 +0100 Subject: [PATCH 1/2] feat(commonjs): add CommonJs loader support --- src/http-auth-interceptor.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/http-auth-interceptor.js b/src/http-auth-interceptor.js index 95e3426..4cc6c29 100644 --- a/src/http-auth-interceptor.js +++ b/src/http-auth-interceptor.js @@ -5,6 +5,11 @@ * (c) 2012 Witold Szczerba * License: MIT */ + +if (typeof module !== 'undefined' && typeof exports !== 'undefined' && module.exports === exports){ + module.exports = 'angular-http-auth'; +} + (function () { 'use strict'; From a065affd7216a2cb2530c8b1f80f4a3f1d8aeba6 Mon Sep 17 00:00:00 2001 From: Sam Bernet Date: Sun, 24 Jan 2016 02:55:33 +0100 Subject: [PATCH 2/2] feat(eclipse,idea): add IDE files to .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 522163c..86ced80 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ node_modules bower_components components +.project +.idea \ No newline at end of file