~vrruiz/webapps-applications/makecheck-dependencies

« back to all changes in this revision

Viewing changes to tests/AmazonCloudReader.js

  • Committer: Tarmac
  • Author(s): Víctor R. Ruiz
  • Date: 2013-04-04 17:46:30 UTC
  • mfrom: (513.1.1 webapps-applications)
  • Revision ID: tarmac-20130404174630-guz3f5b85a1ard41
Fix jslint check in AmazonCloudReader.js.

Approved by Alexandre Abreu, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        } else if (this._state === 1) {
22
22
            this._browser.open(this._url);
23
23
            var self = this;
24
 
            setTimeout(function() { self._browser.injectScript("(function () {"
 
24
            setTimeout(function () { self._browser.injectScript("(function () {"
25
25
                   + " if(window.frames[1].document.getElementsByClassName('ui-dialog firstRunDialog').length) "
26
26
                   + "window.frames[1].document.getElementsByClassName('ui-dialog firstRunDialog')[0].getElementsByClassName('primary_btn')[0].click();  }) ();"); }, 3000);
27
27
        } else if (this._state >= 2) {