| Index: examples/js/world.js
|
| diff --git a/examples/js/world.js b/examples/js/world.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dc3afe75affc7c984b4a8b1af1e338232277a9a2
|
| --- /dev/null
|
| +++ b/examples/js/world.js
|
| @@ -0,0 +1,15 @@
|
| +#!mojo:js_content_handler
|
| +// See hello.js.
|
| +define("main", ["console"], function(console) {
|
| + function Application(shell, url) {
|
| + console.log(url + ": World");
|
| + }
|
| +
|
| + Application.prototype.initialize = function(args) {
|
| + }
|
| +
|
| + Application.prototype.acceptConnection = function(url, serviceProvider) {
|
| + }
|
| +
|
| + return Application;
|
| +});
|
|
|