Skip to content

Commit 50798d3

Browse files
Wanja StierWanja Stier
authored andcommitted
set restrict to EAC
You should be able to use elements as well as attributes and classes in your HTML markup
1 parent 29c4d3d commit 50798d3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/js/timer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
angular.module('timer', [])
22
.directive('timer', ['$compile', function ($compile) {
33
return {
4-
restrict: 'E',
4+
restrict: 'EAC',
55
replace: false,
66
scope: {
77
interval: '=interval',

dist/angular-timer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* angular-timer - v1.0.12 - 2014-03-17 9:06 PM
2+
* angular-timer - v1.0.12 - 2014-03-18 1:23 PM
33
* https://github.com/siddii/angular-timer
44
*
55
* Copyright (c) 2014 Siddique Hameed
@@ -8,7 +8,7 @@
88
angular.module('timer', [])
99
.directive('timer', ['$compile', function ($compile) {
1010
return {
11-
restrict: 'E',
11+
restrict: 'EAC',
1212
replace: false,
1313
scope: {
1414
interval: '=interval',

dist/angular-timer.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)