--
You received this message because you are subscribed to the Google Groups "Angular" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.
CheersRuiwen--
yes, the *first* time someone post to the mailing list we have to
approve it to weed out all the spammers.
> Whatever...
>
> Took me far too long to get $defer work as I wanted it. (self=this
> trick etc.) Thx god I found this thread here. I've build a small
> example without inner functions for testability reasons...
>
> Here's the example code: http://jsfiddle.net/zh2GU/
> And please include sth. similar to the docs: http://docs.angularjs.org/#!angular.service.$defer
good idea, we do need an example there. however, I think that running
a task at scheduled intervals is too common of a use case not to have
a api to do just that. you can use $defer to achieve the same thing,
but that's not what $defer was primarily designed for, so the code is
longer than what it needs to be.
$schedule anyone? :)
/i
> Thx for the great work on angular! Love it!
> Ralf
>
cool :)
> But following all steps described at http://docs.angularjs.org/#!contribute
> will cost me forever. (Never did any open source contribution so far)
That doc is more of a guide on how to work with our git repo, build
angular, run tests, etc.
The requirements really are just three:
- send us a git pull request
- include tests
- follow the handful of style rules we have
We can delete the rest of the doc, but then you'll need to figure out
how we write, test and build our code on your own.
> The example code from before without Syntax Errors and JS seperated
> from HTML: http://jsfiddle.net/zh2GU/3/
This looks much better!
/i
>
> Cheers,