Skip to content

Commit

Permalink
refactor: changed module calls
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Jan 18, 2016
1 parent dc7e906 commit 0319914
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apiNG",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/JohnnyTheTank/apiNG",
"authors": [
"Jonathan Hornung <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion demo2/aping-config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

apingApp.config(['$provide', function ($provide) {
angular.module('jtt_aping').config(['$provide', function ($provide) {

$provide.value("apingDefaultSettings", {
//templateUrl: "../src/aping_design_default_social.html",
Expand Down
2 changes: 1 addition & 1 deletion dist/aping-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use strict";
apingApp.config(['$provide', function ($provide) {
angular.module('jtt_aping').config(['$provide', function ($provide) {

$provide.value("apingDefaultSettings", {
//templateUrl: "<PATH_TO_YOUR_DEFAULT_DESIGN>",
Expand Down
11 changes: 5 additions & 6 deletions dist/aping.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
@name: aping
@version: 1.0.0 (14-01-2016)
@version: 1.0.1 (18-01-2016)
@author: Jonathan Hornung <[email protected]>
@url: https://github.com/JohnnyTheTank/apiNG#readme
@url: https://github.com/JohnnyTheTank/apiNG
@license: MIT
*/
"use strict";
Expand Down Expand Up @@ -156,8 +156,7 @@ var apingApp = angular.module('jtt_aping', ['jtt_aping_jsonloader', 'jtt_aping_n

;"use strict";

apingApp
.service('apingTimeHelper', function () {
angular.module('jtt_aping').service('apingTimeHelper', function () {

/**
* parse Timestamp from DateString and do some math
Expand Down Expand Up @@ -398,7 +397,7 @@ apingApp
}
}]);;"use strict";

apingApp.service('apingInputObjects', ['apingDefaultSettings', function (apingDefaultSettings) {
angular.module('jtt_aping').service('apingInputObjects', ['apingDefaultSettings', function (apingDefaultSettings) {

/**
* * return new clean apiNG input object by _type and _params
Expand Down Expand Up @@ -426,7 +425,7 @@ apingApp.service('apingInputObjects', ['apingDefaultSettings', function (apingDe
return inputObject;
}
}]);;"use strict";
apingApp.service('apingModels', [function () {
angular.module('jtt_aping').service('apingModels', [function () {
/**
* return new clean apiNG model object by _model and _platform
*
Expand Down
6 changes: 3 additions & 3 deletions dist/aping.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aping",
"version": "1.0.0",
"version": "1.0.1",
"description": "apiNG is an AngularJS directive that enables you to receive, aggregate, limit, order and display data from one or more sources. The complete setup is dead simple, just by adding data-attributes to your html",
"main": "dist/aping.min.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/aping-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use strict";
apingApp.config(['$provide', function ($provide) {
angular.module('jtt_aping').config(['$provide', function ($provide) {

$provide.value("apingDefaultSettings", {
//templateUrl: "<PATH_TO_YOUR_DEFAULT_DESIGN>",
Expand Down
3 changes: 1 addition & 2 deletions src/aping-helpers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use strict";

apingApp
.service('apingTimeHelper', function () {
angular.module('jtt_aping').service('apingTimeHelper', function () {

/**
* parse Timestamp from DateString and do some math
Expand Down
2 changes: 1 addition & 1 deletion src/aping-inputObjects.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

apingApp.service('apingInputObjects', ['apingDefaultSettings', function (apingDefaultSettings) {
angular.module('jtt_aping').service('apingInputObjects', ['apingDefaultSettings', function (apingDefaultSettings) {

/**
* * return new clean apiNG input object by _type and _params
Expand Down
2 changes: 1 addition & 1 deletion src/aping-models.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use strict";
apingApp.service('apingModels', [function () {
angular.module('jtt_aping').service('apingModels', [function () {
/**
* return new clean apiNG model object by _model and _platform
*
Expand Down

0 comments on commit 0319914

Please sign in to comment.