angular.js/docs
Keir Mierle de5352cfcf docs(compiler): fix variable scope in drag sample
Note that without this fix, if you add a second draggable element, the
two instances clobber each other since there is only one set of
startx/starty/x/y variables.
Here is an example: http://plnkr.co/edit/aGrLXcIo2SuaePuAdfmQ?p=preview.
On the surface it looks like it would be fine because you only have one
mouse but in practice the start position jumps when you start dragging.
Here it is fixed: http://plnkr.co/edit/VuvPasuumtCeiVRisYKQ?p=preview
2013-04-22 12:52:43 +01:00
..
content docs(compiler): fix variable scope in drag sample 2013-04-22 12:52:43 +01:00
img doc(guide): add concepts 2012-08-27 21:20:51 -07:00
spec chore(docs): improve docs parser type 2013-02-11 14:08:27 -08:00
src chore(ngDoc): fix a typo with IE warning 2013-04-19 22:08:07 +01:00