Skip to content

Commit 4ee7be1

Browse files
integracion ok
1 parent 544f761 commit 4ee7be1

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

www/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<script src="js/overview.controller.js"></script>
2626
</head>
2727

28-
<body ng-app="starter">
28+
<body ng-app="starter" ng-cloak>
2929
<ion-pane ng-controller="OverviewController as vm">
3030
<ion-header-bar class="bar-stable">
3131
<h1 class="title">🎂 Birthdays 🎉</h1>

www/js/birthday.service.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,11 @@ var db, birthdays, fbA, tm, temp;
169169

170170
console.log('inserted to sync', fbKey);
171171

172-
$timeout(function () {
172+
/* $timeout(function() {
173173
removeTempbyId(fbKey);
174-
}, 100);
174+
}, 100);*/
175+
176+
$timeout(removeTempbyId, 100, true, fbKey);
175177
// removeTempbyId(fbKey);
176178

177179
}
@@ -315,10 +317,6 @@ var db, birthdays, fbA, tm, temp;
315317
}
316318

317319
function removeTempbyId(fbKey) {
318-
<<<<<<< HEAD
319-
320-
=======
321-
>>>>>>> origin/master
322320
_temp.removeWhere({
323321
'fbKey': fbKey
324322
});

0 commit comments

Comments
 (0)