Minimal fix to TextMateStyler to make the tests pass
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js
index a6e76b3..76090c3 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js
@@ -587,9 +587,7 @@
 			this.textView = textView;
 			var self = this;
 			
-			var self = this;
-		
-			if (this.textView) {
+			if (this.textView && mBootStrap) {
 				mBootStrap.startup().then(function(core) {
 					preferences = core.preferences;
 					self.preferences = preferences;
@@ -597,7 +595,7 @@
 					self.storageKey = preferences.listenForChangedSettings( self._listener.onStorage );
 				});
 			}		
-			
+
 			this._listener = {
 				onModelChanged: function(e) {
 					self.onModelChanged(e);