-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: add a test, and fix tests #184
Conversation
} | ||
|
||
return Component.prototype.cancelAnimationFrame.call(this, id); | ||
return this.player_.cancelAnimationFrame(id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also noticed that we should just call player functions here, as we were getting some un-important errors, but errors none the less.
@@ -39,7 +39,8 @@ module.exports = replace({ | |||
code = globalReplace(code, 'rotateLeft', 'scope.rotateLeft'); | |||
code = globalReplace(code, 'rotateUp', 'scope.rotateUp'); | |||
// comment out the context menu prevent default line... | |||
code = globalReplace(code, | |||
code = globalReplace( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linter error, strange that it didn't come up until now.
this.clock.tick(1); | ||
}); | ||
|
||
QUnit.test('playback', function(assert) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar to the vhs playback tests.
src/orbit-orientation-controls.js
Outdated
@@ -1,4 +1,4 @@ | |||
import * as THREE from 'three'; | |||
import {Vector3} from 'three'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specific imports
ee72bf2
to
9fdb5ff
Compare
9fdb5ff
to
ac10887
Compare
package.json
Outdated
"three": "0.93.0", | ||
"video.js": "^6 || ^7", | ||
"video.js": "^7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to remove ^6?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ehh probably not, I will add it back in.
1c60ba1
to
1ad1933
Compare
1ad1933
to
b0bb145
Compare
Description
Seems like tests are currently broken due to a dependency issue, this fixes them.
Closes #174
Closes #171
Closes #170
Closes #169
Closes #154
Closes #149
Closes #148
Closes #145
Closes #144
Closes #141
Closes #140