[Windowing] Comments

Added comments to the perform function
WTD-16.
This commit is contained in:
Shivam Dave 2015-06-22 13:20:57 -07:00
parent 6b2edc4469
commit 140e3a1fb6

View File

@ -39,11 +39,13 @@ define(
function NewWindowAction($window) {
return {
/**
* Open the object in a new window (currently a stub)
* Open the object in a new window
*/
perform: function () {
// Places the current Url into a variable
// Then the Url is opened using $window
var currentUrl = $window.location.href;
window.open(currentUrl);
$window.open(currentUrl);
},
getMetadata: function () {