Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1679)

Unified Diff: test_sources/non_transformed/lib/library.js

Issue 615913004: Add @jsify annotation. Support automatically proxying Lists and Maps to Dart in Proxies. Support co… (Closed) Base URL: https://github.com/dart-lang/js-interop.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test_sources/non_transformed/lib/library.js
diff --git a/test_sources/non_transformed/lib/library.js b/test_sources/non_transformed/lib/library.js
index 737a119e941fdbec0362f560b26a9f191cd13df1..2989b11e0e960f7d35401910b1355188262519fd 100644
--- a/test_sources/non_transformed/lib/library.js
+++ b/test_sources/non_transformed/lib/library.js
@@ -26,6 +26,10 @@ JsThing.prototype.setBar = function(bar) {
this.bar = bar;
}
+JsThing.prototype.toString = function() {
+ return this.name;
+}
+
function JsThing2(name) {
this.name = name;
this.y = 42;

Powered by Google App Engine
This is Rietveld 408576698