Opened 12 years ago
Closed 12 years ago
#8833 closed defect (fixed)
JsonRest.js and unintended globals
Reported by: | dylan | Owned by: | Kris Zyp |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dojox | Version: | 1.3.0b2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
i is undefined for this block (around line 96):
args.headers['Transaction'] = actions.length - 1 == i ? "commit" : "open";
i is an unintended global for this block (around line 105):
for(i =0; i < actions.length;i++){ // iterate through the actions to execute
kwArgs is undefined for this block (around line 170):
if(!(service && (object || old) && (object || old).__id.indexOf(kwArgs.service.servicePath))){
Note: See
TracTickets for help on using
tickets.
(In [16971]) Fixes #8833, correcting some bad global references