From 4bf77992875e0d614dc252d8758e84ad61d9a630 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 21 Aug 2014 23:54:01 +0100 Subject: [PATCH] Moved src/js to src --- builder/build.js | 2 +- demos/bold.html | 12 +- demos/bookmark.html | 10 +- demos/commands.html | 20 +- demos/commands_new.html | 20 +- demos/events.html | 14 +- demos/highlighter-old.html | 18 +- demos/highlighter.html | 16 +- demos/position.html | 12 +- demos/position2.html | 12 +- demos/scopedhighlights.html | 14 +- demos/textrange.html | 14 +- src/{js => }/core/core.js | 966 ++-- src/{js => }/core/dom.js | 958 ++-- src/{js => }/core/domrange.js | 0 src/{js => }/core/wrappedrange.js | 1248 +++--- src/{js => }/core/wrappedselection.js | 2008 ++++----- .../modules/commands/aryeh_implementation.js | 0 .../modules/commands/rangy-applyclass.js | 362 +- src/{js => }/modules/commands/rangy-bold.js | 220 +- .../modules/commands/rangy-bold_new.js | 218 +- src/{js => }/modules/commands/rangy-italic.js | 174 +- src/{js => }/modules/rangy-classapplier.js | 0 src/{js => }/modules/rangy-commands.js | 2996 ++++++------- src/{js => }/modules/rangy-commands_new.js | 2718 +++++------ src/{js => }/modules/rangy-events.js | 266 +- src/{js => }/modules/rangy-highlighter-old.js | 516 +-- src/{js => }/modules/rangy-highlighter.js | 1180 ++--- src/{js => }/modules/rangy-position.js | 1074 ++--- .../modules/rangy-selectionsaverestore.js | 470 +- src/{js => }/modules/rangy-serializer.js | 598 +-- src/{js => }/modules/rangy-textcommands.js | 1148 ++--- src/{js => }/modules/rangy-textrange-old.js | 3210 ++++++------- src/{js => }/modules/rangy-textrange.js | 3980 ++++++++--------- src/{js => }/modules/rangy-util.js | 210 +- test/boldifier.html | 16 +- test/classapplier.html | 12 +- test/classappliertests.html | 12 +- test/commandnewtests.html | 14 +- test/commandtests.html | 14 +- test/controlrange.html | 10 +- test/controlrange2.html | 10 +- test/domrange.html | 10 +- test/featuretests.html | 10 +- test/highlightertests.html | 14 +- test/mutator.html | 14 +- test/mylib.html | 2 +- test/rangetests.html | 8 +- test/saverestore.html | 12 +- test/selectionsaverestoretests.html | 12 +- test/selectiontests.html | 10 +- test/serializer.html | 12 +- test/serializertests.html | 12 +- test/textrangeperformance.html | 12 +- test/textrangeperformancetests.html | 10 +- test/textranges.html | 10 +- test/textrangetests-old.html | 12 +- test/textrangetests.html | 12 +- 58 files changed, 12472 insertions(+), 12472 deletions(-) rename src/{js => }/core/core.js (97%) rename src/{js => }/core/dom.js (97%) rename src/{js => }/core/domrange.js (100%) rename src/{js => }/core/wrappedrange.js (97%) rename src/{js => }/core/wrappedselection.js (97%) rename src/{js => }/modules/commands/aryeh_implementation.js (100%) rename src/{js => }/modules/commands/rangy-applyclass.js (97%) rename src/{js => }/modules/commands/rangy-bold.js (97%) rename src/{js => }/modules/commands/rangy-bold_new.js (97%) rename src/{js => }/modules/commands/rangy-italic.js (97%) rename src/{js => }/modules/rangy-classapplier.js (100%) rename src/{js => }/modules/rangy-commands.js (97%) rename src/{js => }/modules/rangy-commands_new.js (97%) rename src/{js => }/modules/rangy-events.js (97%) rename src/{js => }/modules/rangy-highlighter-old.js (97%) rename src/{js => }/modules/rangy-highlighter.js (97%) rename src/{js => }/modules/rangy-position.js (97%) rename src/{js => }/modules/rangy-selectionsaverestore.js (97%) rename src/{js => }/modules/rangy-serializer.js (97%) rename src/{js => }/modules/rangy-textcommands.js (97%) rename src/{js => }/modules/rangy-textrange-old.js (97%) rename src/{js => }/modules/rangy-textrange.js (97%) rename src/{js => }/modules/rangy-util.js (96%) diff --git a/builder/build.js b/builder/build.js index 9ae190e6..55f7e20e 100644 --- a/builder/build.js +++ b/builder/build.js @@ -17,7 +17,7 @@ var buildSpec = { var buildDir = "dist/"; -var gitDir = buildDir + "repository/", srcDir = gitDir + "src/js/"; +var gitDir = buildDir + "repository/", srcDir = gitDir + "src/"; var zipDir; var uncompressedBuildDir; var coreFilename = "rangy-core.js"; diff --git a/demos/bold.html b/demos/bold.html index 46484f69..37e01bd6 100644 --- a/demos/bold.html +++ b/demos/bold.html @@ -15,12 +15,12 @@ } - - - - - - + + + + + + - - - - - + + + + + - - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - + + + + + + - + - - - - - - - + + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + diff --git a/test/commandnewtests.html b/test/commandnewtests.html index 0768028c..823baa23 100644 --- a/test/commandnewtests.html +++ b/test/commandnewtests.html @@ -19,13 +19,13 @@ xn.test.enableStackTraces = true; - - - - - - - + + + + + + + diff --git a/test/commandtests.html b/test/commandtests.html index 950f6ade..d7eb3017 100644 --- a/test/commandtests.html +++ b/test/commandtests.html @@ -18,13 +18,13 @@ xn.test.enableStackTraces = true; - - - - - - - + + + + + + + diff --git a/test/controlrange.html b/test/controlrange.html index 289afca5..f8e48e35 100644 --- a/test/controlrange.html +++ b/test/controlrange.html @@ -11,11 +11,11 @@ //log4javascript.setEnabled(false); - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + diff --git a/test/featuretests.html b/test/featuretests.html index 5e4592e9..baeaabe8 100644 --- a/test/featuretests.html +++ b/test/featuretests.html @@ -21,11 +21,11 @@ - - - - - + + + + + diff --git a/test/highlightertests.html b/test/highlightertests.html index cec579c7..6f07cf80 100644 --- a/test/highlightertests.html +++ b/test/highlightertests.html @@ -20,13 +20,13 @@ xn.test.enableStackTraces = true; - - - - - - - + + + + + + + diff --git a/test/mutator.html b/test/mutator.html index 3a3f2e71..aa4ea722 100644 --- a/test/mutator.html +++ b/test/mutator.html @@ -11,14 +11,14 @@ log4javascript.setShowStackTraces(true); - - - - - - + + + + + + - + - - - - + + + + diff --git a/test/saverestore.html b/test/saverestore.html index c6a23324..90d1a641 100644 --- a/test/saverestore.html +++ b/test/saverestore.html @@ -10,12 +10,12 @@ var log = log4javascript.getRootLogger(); log4javascript.setShowStackTraces(true); - - - - - - + + + + + + - - - - - - + + + + + + diff --git a/test/selectiontests.html b/test/selectiontests.html index 650156b6..97596cbb 100644 --- a/test/selectiontests.html +++ b/test/selectiontests.html @@ -20,11 +20,11 @@ xn.test.enableStackTraces = true; - - - - - + + + + + diff --git a/test/serializer.html b/test/serializer.html index f3b9e648..1105ceff 100644 --- a/test/serializer.html +++ b/test/serializer.html @@ -4,12 +4,12 @@ Serializer Test - - - - - - + + + + + + - - - - - - + + + + + + diff --git a/test/textrangeperformance.html b/test/textrangeperformance.html index d9aaa04f..e7baad3d 100644 --- a/test/textrangeperformance.html +++ b/test/textrangeperformance.html @@ -6,12 +6,12 @@ - - - - - - + + + + + + - - - - - + + + + + diff --git a/test/textranges.html b/test/textranges.html index 82869628..75115e37 100644 --- a/test/textranges.html +++ b/test/textranges.html @@ -9,11 +9,11 @@ var log = log4javascript.getRootLogger(); log4javascript.setShowStackTraces(true); - - - - - + + + + + - - - - - - + + + + + + diff --git a/test/textrangetests.html b/test/textrangetests.html index e366efda..dfeebab8 100644 --- a/test/textrangetests.html +++ b/test/textrangetests.html @@ -21,12 +21,12 @@ //xn.test.disableLogging = true; - - - - - - + + + + + +