From 1862f43cfcd93a3f79cf652da70f22a438de4cf9 Mon Sep 17 00:00:00 2001 From: Oliver Buchtala Date: Sat, 8 Sep 2012 01:09:05 +0000 Subject: [PATCH] Minor clean up in class example. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13800 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/javascript/class/Makefile | 2 +- Examples/javascript/class/runme.js | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Examples/javascript/class/Makefile b/Examples/javascript/class/Makefile index 180e99cae..507289ed1 100755 --- a/Examples/javascript/class/Makefile +++ b/Examples/javascript/class/Makefile @@ -1,6 +1,6 @@ TOP = ../.. SWIG = $(TOP)/../preinst-swig -CXXSRCS = example.cpp +CXXSRCS = example.cxx JS_SCRIPT = runme.js TARGET = example INTERFACE = example.i diff --git a/Examples/javascript/class/runme.js b/Examples/javascript/class/runme.js index 922876fc5..50261d868 100755 --- a/Examples/javascript/class/runme.js +++ b/Examples/javascript/class/runme.js @@ -21,15 +21,10 @@ c.y = 30; s.x = -10; s.y = 5; -print("\nHere is their current position:"); -print("Circle = (" + c.x + "," + c.y + ")"); -print("Square = (" + s.x + "," + s.y + ")"); - print("\nHere is their new position:"); print("Circle = (" + c.x + "," + c.y + ")"); print("Square = (" + s.x + "," + s.y + ")"); - // ----- Call some methods ----- print("\nHere are some properties of the shapes:"); print("Circle:");