In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line.
Issue-ID: VID-607
Change-Id: I92d5834ace5659334bdede1dfc2af23cc697f78a
Signed-off-by: anushadasari <danush10@in.ibm.com>
scrollPosition = {\r
x : $window.pageXOffset,\r
y : $window.pageYOffset\r
scrollPosition = {\r
x : $window.pageXOffset,\r
y : $window.pageYOffset\r
$window.scrollTo(0, 0);\r
element.css("display", "table");\r
element.prev().css("display", "block");\r
$window.scrollTo(0, 0);\r
element.css("display", "table");\r
element.prev().css("display", "block");\r
$window.scrollTo(scrollPosition.x, scrollPosition.y);\r
}\r
});\r
$window.scrollTo(scrollPosition.x, scrollPosition.y);\r
}\r
});\r
\r
return {\r
restrict : "EA",\r
\r
return {\r
restrict : "EA",\r
link : link,\r
template : '<table style="display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-collapse: collapse; margin: 0; padding: 0"> <tr><td align="center" style="vertical-align: top; padding: 10px"><div style="display: inline-block; padding: 5px; background-color: white" ng-transclude></div></td></tr></table>'\r
};\r
link : link,\r
template : '<table style="display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-collapse: collapse; margin: 0; padding: 0"> <tr><td align="center" style="vertical-align: top; padding: 10px"><div style="display: inline-block; padding: 5px; background-color: white" ng-transclude></div></td></tr></table>'\r
};\r
\r
appDS2.directive("popupWindow", [ "$log", "$window", popupWindowDirective ]);\r
\r
appDS2.directive("popupWindow", [ "$log", "$window", popupWindowDirective ]);\r