Skip to content

Commit

Permalink
Removed console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Apr 25, 2023
1 parent a5db213 commit 854661a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions app/model/abstractModel.js
Expand Up @@ -62,15 +62,11 @@ core.factory("AbstractModel", function ($injector, $rootScope, $q, $timeout, Mod

if (fetch) {
if (fetchingPromise === undefined) {
console.log('fetching', mapping.instantiate);
fetchingPromise = WsApi.fetch(mapping.instantiate);
} else {
console.log('piggy backing', mapping.instantiate);
}
fetchingPromise.then(function (res) {
processResponse(res);
$timeout(function() {
console.log('clearing', mapping.instantiate);
fetchingPromise = undefined;
}, 2500);
}, function (error) {
Expand Down
4 changes: 0 additions & 4 deletions app/repo/abstractRepo.js
Expand Up @@ -386,16 +386,12 @@ core.service("AbstractRepo", function ($q, $rootScope, $timeout, ApiResponseActi
var fetch = function () {
if (abstractRepo.mapping.all !== undefined) {
if (fetchingAllPromise === undefined) {
console.log('fetching', abstractRepo.mapping.all);
fetchingAllPromise = WsApi.fetch(abstractRepo.mapping.all);
} else {
console.log('piggy backing', abstractRepo.mapping.all);
}
fetchingAllPromise.then(function (res) {
build(unwrap(res)).then(function () {
defer.resolve(res);
$timeout(function() {
console.log('clearing', abstractRepo.mapping.all);
fetchingAllPromise = undefined;
}, 2500);
});
Expand Down

0 comments on commit 854661a

Please sign in to comment.