From 047d56d662624191c2935f14cbaa7bb197cc2f0f Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 31 Oct 2014 09:49:07 -0700 Subject: [PATCH] [Structure] Add comments to temporary files Add clarifying comments to temporary files, to ensure they are distinguishable as placeholders. Part of developing project folder structure and build for WTD-519. --- platform/framework/src/Temporary.js | 11 +++++------ platform/framework/test/TemporarySpec.js | 2 +- test.html | 1 + 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/platform/framework/src/Temporary.js b/platform/framework/src/Temporary.js index df1541b175..75ccf57c73 100644 --- a/platform/framework/src/Temporary.js +++ b/platform/framework/src/Temporary.js @@ -1,10 +1,9 @@ -/** - * Created by vwoeltje on 10/30/14. - */ - - /*global define*/ +/** + * This is a temporary file. It is present to verify + * that build, including test scripts, can be executed. + */ define( [], function () { @@ -13,7 +12,7 @@ define( function Temporary() { return { someMethod: function () { - return "returnValue"; + return "Hello, world."; } }; } diff --git a/platform/framework/test/TemporarySpec.js b/platform/framework/test/TemporarySpec.js index 2d1bfef41c..e0d43a0306 100644 --- a/platform/framework/test/TemporarySpec.js +++ b/platform/framework/test/TemporarySpec.js @@ -9,7 +9,7 @@ define( var temporary = new Temporary(); it("has a method with a return value", function () { - expect(temporary.someMethod()).toEqual("returnValue"); + expect(temporary.someMethod()).toEqual("Hello, world."); }); }); diff --git a/test.html b/test.html index f946be926f..3329237b4f 100644 --- a/test.html +++ b/test.html @@ -1,3 +1,4 @@ +