From 0923f6fb5b914bcdb90f2d7be19e0dea47a54c8a Mon Sep 17 00:00:00 2001 From: Paulo Diogo S Andrade Date: Thu, 26 Oct 2017 17:13:46 -0200 Subject: [PATCH 1/2] Naming the define() AMD module This solves the error related to mismatched anonymous define() module --- src/angularAMD.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angularAMD.js b/src/angularAMD.js index 4bac9b1..502a99f 100644 --- a/src/angularAMD.js +++ b/src/angularAMD.js @@ -4,7 +4,7 @@ License: MIT */ -define(function () { +define('angularAMD', function () { 'use strict'; var bootstrapped = false, From 848721ce678cac4d75fe9d1d0f66f725f5aaa960 Mon Sep 17 00:00:00 2001 From: Paulo Diogo S Andrade Date: Thu, 26 Oct 2017 17:56:04 -0200 Subject: [PATCH 2/2] Removing nested dependencies --- bower.json | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/bower.json b/bower.json index 5041f5e..f09ed2f 100644 --- a/bower.json +++ b/bower.json @@ -1,16 +1,6 @@ { "name": "angularAMD", "version": "0.2.1", - "dependencies": { - "angular": "^1.3.0", - "requirejs": "~2.1.9" - }, - "devDependencies": { - "angular-route": "^1.3.0", - "angular-animate": "^1.3.0", - "angular-mocks": "^1.3.0", - "angular-ui-bootstrap-bower": "~0.6.0", - "requirejs-plugins": "~1.0.2", - "google-code-prettify": "~1.0.1" - } + "dependencies": {}, + "devDependencies": {} }