Skip to content

Commit e03dc21

Browse files
committed
Merge remote-tracking branch 'upstream/svg' into bramp/svg
2 parents 7d6380c + 09c7148 commit e03dc21

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,25 @@ test: dependencies build/sequence-diagram-min.js
4040
$(NODE_MODULES)/qunit \
4141
-c build/sequence-diagram.js \
4242
-t test/*-tests.js \
43-
-d test/snap-mock.js $(BOWER_COMPONENTS)/underscore/underscore-min.js
43+
-d test/*-mock.js $(BOWER_COMPONENTS)/underscore/underscore-min.js
4444

4545
# Test the un-minifed file (with lodash)
4646
$(NODE_MODULES)/qunit \
4747
-c build/sequence-diagram.js \
4848
-t test/*-tests.js \
49-
-d test/snap-mock.js $(BOWER_COMPONENTS)/lodash/lodash.min.js
49+
-d test/*-mock.js $(BOWER_COMPONENTS)/lodash/lodash.min.js
5050

5151
# Test the minifed file (with underscore)
5252
$(NODE_MODULES)/qunit \
5353
-c build/sequence-diagram-min.js \
5454
-t test/*-tests.js \
55-
-d test/snap-mock.js $(BOWER_COMPONENTS)/underscore/underscore-min.js
55+
-d test/*-mock.js $(BOWER_COMPONENTS)/underscore/underscore-min.js
5656

5757
# Test the minifed file (with lodash)
5858
$(NODE_MODULES)/qunit \
5959
-c build/sequence-diagram-min.js \
6060
-t test/*-tests.js \
61-
-d test/snap-mock.js $(BOWER_COMPONENTS)/lodash/lodash.min.js
61+
-d test/*-mock.js $(BOWER_COMPONENTS)/lodash/lodash.min.js
6262

6363
build/grammar.js: src/grammar.jison
6464
$(NODE_MODULES)/jison $< -o $@.tmp

test/snap-mock.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
(function () {
33
"use strict";
44
this.Snap = {
5-
// TODO
6-
plugin: function(plug) {
7-
plug(this.plugin, this.plugin, this.plugin, this.plugin, this.plugin);
8-
}
9-
}
5+
plugin: function(){},
6+
};
107
}).call(this);

0 commit comments

Comments
 (0)