diff --git a/_config.yml b/_config.yml index 66284e0..fff4ab9 100644 --- a/_config.yml +++ b/_config.yml @@ -1,20 +1 @@ theme: jekyll-theme-minimal -language: node_js -node_js: - - 'stable' -sudo: false -env: - - workerCount=3 -matrix: - fast_finish: true -branches: - only: - - master -install: - - npm uninstall typescript - - npm install -cache: - directories: - - node_modules -git: - depth: 1 \ No newline at end of file diff --git a/src/browsers/base/browser.ts b/src/browsers/base/browser.ts index f766715..1b3f3c1 100644 --- a/src/browsers/base/browser.ts +++ b/src/browsers/base/browser.ts @@ -20,13 +20,11 @@ abstract class Browser { return this._appCodeName; } - public get options() { - return { - hideCursor : true, - disableContextMenu : true, - disableImageDrag : true, - disableTextSelection : true - } + public options : any = { + hideCursor : true, + disableContextMenu : true, + disableImageDrag : true, + disableTextSelection : true } constructor(userAgent : string, appVersion : string, appName : string, appCodeName : string){ @@ -58,7 +56,7 @@ abstract class Browser { protected abstract disableTextSelection () : void; - public Run() : void { + public run() : void { if(this.options.hideCursor){ this.hideCursor(); }