Skip to content

Commit 06d8729

Browse files
authored
Merge pull request #338 from girder/geojs-0.19.1
Update to work with geojs 0.19.1.
2 parents 0d23804 + 89089fa commit 06d8729

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"d3": "^3.5.16",
1212
"hammerjs": "^2.0.8",
13-
"geojs": "^0.19.0",
13+
"geojs": "^0.19.1",
1414
"slideatlas-viewer": "4.0.3",
1515
"sinon": "^2.1.0",
1616
"tinycolor2": "^1.4.1"

plugin_tests/client/annotationListSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('AnnotationListWidget', function () {
2424
});
2525

2626
describe('setup', function () {
27-
it('mock VGL', function () {
27+
it('mock Webgl', function () {
2828
var GeojsViewer = largeImage.views.imageViewerWidget.geojs;
2929
girder.utilities.PluginUtils.wrap(GeojsViewer, 'initialize', function (initialize) {
3030
this.drawAnnotation = function (annotation) {
@@ -35,7 +35,7 @@ describe('AnnotationListWidget', function () {
3535
};
3636

3737
this.once('g:beforeFirstRender', function () {
38-
window.geo.util.mockVGLRenderer();
38+
window.geo.util.mockWebglRenderer();
3939
});
4040
initialize.apply(this, _.rest(arguments));
4141
});

plugin_tests/client/geojsSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ $(function () {
107107
hoverEvents: true
108108
});
109109
viewer.once('g:beforeFirstRender', function () {
110-
window.geo.util.mockVGLRenderer();
110+
window.geo.util.mockWebglRenderer();
111111
});
112112
waitsFor(function () {
113113
return $('.geojs-layer.active').length >= 1;
@@ -708,7 +708,7 @@ $(function () {
708708
scale: {position: {bottom: 20, right: 10}, scale: 0.0005}
709709
});
710710
viewer.once('g:beforeFirstRender', function () {
711-
window.geo.util.mockVGLRenderer();
711+
window.geo.util.mockWebglRenderer();
712712
});
713713
waitsFor(function () {
714714
return $('.geojs-layer.active').length >= 1 && viewer.scaleWidget;

plugin_tests/client/imageViewerSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ girderTest.startApp();
66

77
$(function () {
88
describe('setup', function () {
9-
it('mock VGL', function () {
9+
it('mock Webgl', function () {
1010
var girder = window.girder;
1111
var GeojsViewer = girder.plugins.large_image.views.imageViewerWidget.geojs;
1212
girder.utilities.PluginUtils.wrap(GeojsViewer, 'initialize', function (initialize) {
1313
this.once('g:beforeFirstRender', function () {
14-
window.geo.util.mockVGLRenderer();
14+
window.geo.util.mockWebglRenderer();
1515
});
1616
initialize.apply(this, _.rest(arguments));
1717
});

0 commit comments

Comments
 (0)