Skip to content

Commit

Permalink
Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
vkural committed Jun 6, 2017
1 parent 1a4248e commit 1696bb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
19 changes: 0 additions & 19 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -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
14 changes: 6 additions & 8 deletions src/browsers/base/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down Expand Up @@ -58,7 +56,7 @@ abstract class Browser {

protected abstract disableTextSelection () : void;

public Run() : void {
public run() : void {
if(this.options.hideCursor){
this.hideCursor();
}
Expand Down

0 comments on commit 1696bb7

Please sign in to comment.