Fix all res/ files with ESLint rules with 0 errors.

This commit is contained in:
Gunther Brunner
2016-01-19 23:08:33 +09:00
parent 1006564ae7
commit a3f815c118
258 changed files with 1634 additions and 1634 deletions

View File

@@ -2,13 +2,13 @@ module.exports = function includeCachedDirective(CompileCacheService) {
return {
restrict: 'ECA',
terminal: true,
compile: function (element, attrs) {
compile: function(element, attrs) {
var srcExp = attrs.ngIncludeCached || attrs.src
return function (scope, element) {
return function(scope, element) {
var src = scope.$eval(srcExp)
var newScope = scope.$new()
CompileCacheService(src, newScope, function (compiledElm) {
CompileCacheService(src, newScope, function(compiledElm) {
element.append(compiledElm)
})
}