Ticket #462 (closed bug: fixed)
var are missing in plugins/interface/iutil.js + patch + test
| Reported by: | toggg | Owned by: | stefan |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1a |
| Component: | interface | Version: | 1.1a |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I noticed several variables which should be local but not declared as such using "var".
It only *may* become a problem.
Modified iutil.js and patch for it as by [503] follow.
As, I'm unsure and it is a necessity, I join some draft, not achieved, test.
I look forward to complete it with some ok().
Not sure about the getClient() thing...
Also, there's nothing for getPointer(), traverseDOM() and purgeEvents() as they are not directly feasable with the current simple test scheme. Same for the second parameter "toInteger" when it applies. I'll prepare something more complete.
Attachments
Change History
Changed 6 years ago by toggg
-
attachment
iutil.js.patch
added
comment:3 Changed 6 years ago by toggg
I refactored the above test.
Case the test fails, a button should show to display the diffs.
Expected values are FF based. So far we can see , only IE fails.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

interface/iutil.js patch for #462