Skip to content

Commit

Permalink
Change Deps to Tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
Urigo committed Oct 28, 2014
1 parent d8304ad commit eaff6c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/angular-meteor-subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ angularMeteorSubscribe.service('$subscribe', ['$q',

var subscription = Meteor.subscribe.apply(this, arguments);

Deps.autorun(function() {
Tracker.autorun(function() {
if ( subscription.ready() ) {
deferred.resolve();
}
Expand Down
2 changes: 1 addition & 1 deletion modules/angular-meteor-user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var angularMeteorUser = angular.module('angular-meteor.user', []);

angularMeteorUser.run(['$rootScope', function($rootScope){
Deps.autorun(function(self) {
Tracker.autorun(function(self) {
if (Meteor.user) {
$rootScope.currentUser = Meteor.user();
$rootScope.loggingIn = Meteor.loggingIn();
Expand Down
2 changes: 1 addition & 1 deletion urigo:angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var onReady = function () {
Blaze.View.notifyParented = function () {
notifyParented.apply(this, arguments);
if (this.region) {
Deps.afterFlush(function() {
Tracker.afterFlush(function() {
angular.element(document).injector().invoke(['$compile', '$document', '$rootScope',
function ($compile, $document, $rootScope) {
$compile($document)($rootScope);
Expand Down

0 comments on commit eaff6c7

Please sign in to comment.