aboutsummaryrefslogtreecommitdiff
path: root/test/fixtures/apilinks/prototype.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/apilinks/prototype.js')
-rw-r--r--test/fixtures/apilinks/prototype.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/fixtures/apilinks/prototype.js b/test/fixtures/apilinks/prototype.js
new file mode 100644
index 0000000000..40218e844e
--- /dev/null
+++ b/test/fixtures/apilinks/prototype.js
@@ -0,0 +1,13 @@
+'use strict';
+
+// An exported class using classic prototype syntax.
+
+function Class() {
+}
+
+Class.classMethod = function() {}
+Class.prototype.instanceMethod = function() {}
+
+module.exports = {
+ Class
+};