diff --git a/gulpfile.js b/gulpfile.js
index eca70948..c1d0c97b 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -300,7 +300,7 @@ gulp.task('generate-test-samples', function() {
'',
'/*----------------------------------------SAMPLE CSS END*/',
'',
- '[<< BACK]
',
+ '[<< BACK]
',
'THIS IS A GENERATED FILE VIA gulp generate-test-samples',
'',
'
',
@@ -341,13 +341,16 @@ gulp.task('generate-test-samples', function() {
'',
'',
'',
+' ',
'',
'',
-'[<< BACK]
',
+'[<< BACK]
',
'THIS IS A GENERATED FILE VIA gulp generate-test-samples
',
locations.map(function(location) {
- return '' + location.name + '';
+ return '' + location.name + '';
}).join('
\n'),
+'',
+'',
'',
'',
]
diff --git a/test/dev-setup.js b/test/dev-setup.js
index 14923ba8..b6f65a51 100644
--- a/test/dev-setup.js
+++ b/test/dev-setup.js
@@ -136,6 +136,14 @@
div.innerHTML = '- ' + allComponents.map(function(component) { return component.renderLoadingOptions(); }).join('
- ') + '
';
document.body.appendChild(div);
+
+ var aElements = document.getElementsByTagName('a');
+ for (var i = 0; i < aElements.length; i++) {
+ var aElement = aElements[i];
+ if (aElement.className === 'loading-opts') {
+ aElement.href += window.location.search
+ }
+ }
})();
diff --git a/test/index.html b/test/index.html
index d78eb4f3..6fd09068 100644
--- a/test/index.html
+++ b/test/index.html
@@ -8,21 +8,21 @@
Jump to:
-[SMOKETEST]
+[SMOKETEST]
|
-[PLAYGROUND]
+[PLAYGROUND]
|
-[fixed element]
+[fixed element]
|
-[scrollable body]
+[scrollable body]
|
-[scrollable element]
+[scrollable element]
|
-[colorize element]
+[colorize element]
|
-[cross origin broken]
+[cross origin broken]
|
-[cross origin good]
+[cross origin good]
diff --git a/test/playground.generated/creating-the-diffeditor-hello-diff-world.html b/test/playground.generated/creating-the-diffeditor-hello-diff-world.html
index e40845d8..02e2bd50 100644
--- a/test/playground.generated/creating-the-diffeditor-hello-diff-world.html
+++ b/test/playground.generated/creating-the-diffeditor-hello-diff-world.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/creating-the-diffeditor-inline-diff-example.html b/test/playground.generated/creating-the-diffeditor-inline-diff-example.html
index 655644cf..5664a613 100644
--- a/test/playground.generated/creating-the-diffeditor-inline-diff-example.html
+++ b/test/playground.generated/creating-the-diffeditor-inline-diff-example.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/creating-the-diffeditor-multi-line-example.html b/test/playground.generated/creating-the-diffeditor-multi-line-example.html
index 6a85f538..5fbc4d1d 100644
--- a/test/playground.generated/creating-the-diffeditor-multi-line-example.html
+++ b/test/playground.generated/creating-the-diffeditor-multi-line-example.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/creating-the-diffeditor-navigating-a-diff.html b/test/playground.generated/creating-the-diffeditor-navigating-a-diff.html
index 78d6332e..bc512b1c 100644
--- a/test/playground.generated/creating-the-diffeditor-navigating-a-diff.html
+++ b/test/playground.generated/creating-the-diffeditor-navigating-a-diff.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/creating-the-editor-editor-basic-options.html b/test/playground.generated/creating-the-editor-editor-basic-options.html
index 610c72fa..c82fe3ce 100644
--- a/test/playground.generated/creating-the-editor-editor-basic-options.html
+++ b/test/playground.generated/creating-the-editor-editor-basic-options.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/creating-the-editor-hard-wrapping.html b/test/playground.generated/creating-the-editor-hard-wrapping.html
index 6e138ace..1d971ab0 100644
--- a/test/playground.generated/creating-the-editor-hard-wrapping.html
+++ b/test/playground.generated/creating-the-editor-hard-wrapping.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/creating-the-editor-hello-world.html b/test/playground.generated/creating-the-editor-hello-world.html
index 5cbcec9f..31e4788c 100644
--- a/test/playground.generated/creating-the-editor-hello-world.html
+++ b/test/playground.generated/creating-the-editor-hello-world.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html b/test/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html
index d0091ede..f9ef185d 100644
--- a/test/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html
+++ b/test/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html
@@ -15,7 +15,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/customizing-the-appearence-exposed-css-classes.html b/test/playground.generated/customizing-the-appearence-exposed-css-classes.html
index 795b5acb..c01b1190 100644
--- a/test/playground.generated/customizing-the-appearence-exposed-css-classes.html
+++ b/test/playground.generated/customizing-the-appearence-exposed-css-classes.html
@@ -46,7 +46,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/customizing-the-appearence-scrollbars.html b/test/playground.generated/customizing-the-appearence-scrollbars.html
index 03386631..f0e2aeec 100644
--- a/test/playground.generated/customizing-the-appearence-scrollbars.html
+++ b/test/playground.generated/customizing-the-appearence-scrollbars.html
@@ -24,7 +24,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/customizing-the-appearence-tokens-and-colors.html b/test/playground.generated/customizing-the-appearence-tokens-and-colors.html
index 05aa974a..ec75cd82 100644
--- a/test/playground.generated/customizing-the-appearence-tokens-and-colors.html
+++ b/test/playground.generated/customizing-the-appearence-tokens-and-colors.html
@@ -24,7 +24,7 @@ b) inspecting the dom elements rendered by the editor;
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/extending-language-services-completion-provider-example.html b/test/playground.generated/extending-language-services-completion-provider-example.html
index 70f05df0..c61819ef 100644
--- a/test/playground.generated/extending-language-services-completion-provider-example.html
+++ b/test/playground.generated/extending-language-services-completion-provider-example.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/extending-language-services-configure-javascript-defaults.html b/test/playground.generated/extending-language-services-configure-javascript-defaults.html
index 31ec61ff..3be76a70 100644
--- a/test/playground.generated/extending-language-services-configure-javascript-defaults.html
+++ b/test/playground.generated/extending-language-services-configure-javascript-defaults.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/extending-language-services-configure-json-defaults.html b/test/playground.generated/extending-language-services-configure-json-defaults.html
index 6a46dbda..3591d903 100644
--- a/test/playground.generated/extending-language-services-configure-json-defaults.html
+++ b/test/playground.generated/extending-language-services-configure-json-defaults.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/extending-language-services-custom-languages.html b/test/playground.generated/extending-language-services-custom-languages.html
index 428d1291..5a535ecf 100644
--- a/test/playground.generated/extending-language-services-custom-languages.html
+++ b/test/playground.generated/extending-language-services-custom-languages.html
@@ -29,7 +29,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/extending-language-services-hover-provider-example.html b/test/playground.generated/extending-language-services-hover-provider-example.html
index 02a2c2e1..9a79d2fd 100644
--- a/test/playground.generated/extending-language-services-hover-provider-example.html
+++ b/test/playground.generated/extending-language-services-hover-provider-example.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/index.html b/test/playground.generated/index.html
index 2fe1bce9..98de4c68 100644
--- a/test/playground.generated/index.html
+++ b/test/playground.generated/index.html
@@ -2,33 +2,36 @@
+
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
-Creating the editor > Hello world!
-Creating the editor > Editor basic options
-Creating the editor > Hard wrapping
-Creating the editor > Syntax highlighting for HTML elements
-Interacting with the editor > Adding a command to an editor instance
-Interacting with the editor > Adding an action to an editor instance
-Interacting with the editor > Revealing a position
-Interacting with the editor > Rendering glyphs in the margin
-Interacting with the editor > Line and Inline decorations
-Interacting with the editor > Customizing the line numbers
-Interacting with the editor > Listening to mouse events
-Interacting with the editor > Listening to key events
-Customizing the appearence > Exposed CSS classes
-Customizing the appearence > Scrollbars
-Customizing the appearence > Tokens and colors
-Creating the DiffEditor > Hello diff world!
-Creating the DiffEditor > Multi-line example
-Creating the DiffEditor > Inline Diff Example
-Creating the DiffEditor > Navigating a Diff
-Extending Language Services > Custom languages
-Extending Language Services > Completion provider example
-Extending Language Services > Hover provider example
-Extending Language Services > Configure JavaScript defaults
-Extending Language Services > Configure JSON defaults
+Creating the editor > Hello world!
+Creating the editor > Editor basic options
+Creating the editor > Hard wrapping
+Creating the editor > Syntax highlighting for HTML elements
+Interacting with the editor > Adding a command to an editor instance
+Interacting with the editor > Adding an action to an editor instance
+Interacting with the editor > Revealing a position
+Interacting with the editor > Rendering glyphs in the margin
+Interacting with the editor > Line and Inline decorations
+Interacting with the editor > Customizing the line numbers
+Interacting with the editor > Listening to mouse events
+Interacting with the editor > Listening to key events
+Customizing the appearence > Exposed CSS classes
+Customizing the appearence > Scrollbars
+Customizing the appearence > Tokens and colors
+Creating the DiffEditor > Hello diff world!
+Creating the DiffEditor > Multi-line example
+Creating the DiffEditor > Inline Diff Example
+Creating the DiffEditor > Navigating a Diff
+Extending Language Services > Custom languages
+Extending Language Services > Completion provider example
+Extending Language Services > Hover provider example
+Extending Language Services > Configure JavaScript defaults
+Extending Language Services > Configure JSON defaults
+
+
\ No newline at end of file
diff --git a/test/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html b/test/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html
index a09a7b4b..e64c4868 100644
--- a/test/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html
+++ b/test/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html b/test/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html
index a7344362..a25e14e2 100644
--- a/test/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html
+++ b/test/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html b/test/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html
index 86c385c5..31213442 100644
--- a/test/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html
+++ b/test/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html
@@ -15,7 +15,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html b/test/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html
index ae4175ee..05263b27 100644
--- a/test/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html
+++ b/test/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html
@@ -26,7 +26,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/interacting-with-the-editor-listening-to-key-events.html b/test/playground.generated/interacting-with-the-editor-listening-to-key-events.html
index 7e4f2a09..d9c7bab8 100644
--- a/test/playground.generated/interacting-with-the-editor-listening-to-key-events.html
+++ b/test/playground.generated/interacting-with-the-editor-listening-to-key-events.html
@@ -15,7 +15,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html b/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html
index 035b5e95..57f700e6 100644
--- a/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html
+++ b/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html
@@ -20,7 +20,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html b/test/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html
index e64972a9..b45f26c2 100644
--- a/test/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html
+++ b/test/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html
@@ -20,7 +20,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples
diff --git a/test/playground.generated/interacting-with-the-editor-revealing-a-position.html b/test/playground.generated/interacting-with-the-editor-revealing-a-position.html
index 1464e5c1..7a7c3adc 100644
--- a/test/playground.generated/interacting-with-the-editor-revealing-a-position.html
+++ b/test/playground.generated/interacting-with-the-editor-revealing-a-position.html
@@ -14,7 +14,7 @@
/*----------------------------------------SAMPLE CSS END*/
-[<< BACK]
+[<< BACK]
THIS IS A GENERATED FILE VIA gulp generate-test-samples