forked from Archives/Athou_commafeed
remove warnings
This commit is contained in:
@@ -185,7 +185,7 @@ module.directive('recursive', [ '$compile', function($compile) {
|
||||
priority : 100000,
|
||||
compile : function(tElement, tAttr) {
|
||||
var contents = tElement.contents().remove();
|
||||
var compiledContents;
|
||||
var compiledContents = null;
|
||||
return function(scope, iElement, iAttr) {
|
||||
if (!compiledContents) {
|
||||
compiledContents = $compile(contents);
|
||||
|
||||
@@ -2,7 +2,7 @@ var app = angular.module('commafeed.services');
|
||||
|
||||
app.factory('$templateCache', ['$cacheFactory', '$http', '$injector', function($cacheFactory, $http, $injector) {
|
||||
var cache = $cacheFactory('templates');
|
||||
var allTplPromise;
|
||||
var allTplPromise = null;
|
||||
|
||||
return {
|
||||
get : function(url) {
|
||||
|
||||
Reference in New Issue
Block a user