mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-27 00:44:41 +00:00
Merge pull request #1807 from asturur/master
Fix for travis not working
This commit is contained in:
commit
38121a8a91
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "0.10.29"
|
||||
- "0.10"
|
||||
script: 'npm run-script build && npm test && jscs src'
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ else {
|
|||
|
||||
if (fabric.document.createWindow) {
|
||||
fabric.window = fabric.document.createWindow();
|
||||
} else {
|
||||
fabric.window = fabric.document.parentWindow;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue