Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict: "C" #128

Closed
commercial-hippie opened this issue Nov 24, 2014 · 3 comments
Closed

Restrict: "C" #128

commercial-hippie opened this issue Nov 24, 2014 · 3 comments

Comments

@commercial-hippie
Copy link

I created a app and used my own class to style some elements. I didn't realise using the class timer would cause my data-bindings to fail (different scope).

Would it be possible to remove the class restrict option? Going through the docs I saw no example of creating a timer by using a class so I doubt anyone is using it.

Or am I doing something else wrong? Snippet:

<ul class="timers">
    <li ng-repeat="timer in timers" ng-class="{'last': $last}" class="timer">
        <div class="notes">
            <textarea ng-model="timer.notes" class="form-control"></textarea>
        </div>
    </li>
</ul>

Thanks :)

@siddii
Copy link
Owner

siddii commented Nov 24, 2014

Nope, there was no intention using timer directive on class. I'll remove it.

@commercial-hippie
Copy link
Author

@siddii Thanks 👍

@siddii siddii closed this as completed Nov 24, 2014
@siddii
Copy link
Owner

siddii commented Nov 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants