Fix jslint errors due to strict checking of loop variables

This commit is contained in:
Kijin Sung 2016-01-18 21:13:10 +09:00
parent ec6f9d36b4
commit 0a40cd084e
3 changed files with 3 additions and 2 deletions

View file

@ -92,7 +92,7 @@ function doFillWidgetVars() {
// IE7에서 발생하는 jQuery 용 attribute를 걸러내기 위해 추가
var attrFilters = ['style', 'sizset', 'draggable', 'class'];
for(i = 0; i < attrs.length ; i++){
for(var i = 0; i < attrs.length ; i++){
var name = attrs[i].name;
var value = jQuery(selected_node).attr(name);

View file

@ -422,6 +422,7 @@ function doCheckWidget(e) {
if($obj.hasClass('widgetSetup')) {
var p_obj = obj.parentNode.parentNode;
var widget = p_obj.getAttribute("widget");
var widgetstyle = p_obj.getAttribute("widgetstyle");
if(!widget) return;
selectedWidget = p_obj;
if(widget == 'widgetContent') popopen(request_uri+"?module=widget&act=dispWidgetAdminAddContent&module_srl="+zoneModuleSrl+"&document_srl="+p_obj.getAttribute("document_srl"), "addContent");

View file

@ -99,7 +99,7 @@ function doFillWidgetVars() {
// 위젯 스타일 유지를 위한 hidden input 추가하고 값을 저장
var attrs = selected_node.attributes;
for (i=0; i< attrs.length ; i++){
for (var i = 0; i < attrs.length; i++){
var name = attrs[i].name;
var value = jQuery(selected_node).attr(name);
if(value=='Array') continue;