Browse Source

made compatible with transforms resuired for selenium

Gildas 6 years ago
parent
commit
60ef042a3d
1 changed files with 29 additions and 31 deletions
  1. 29 31
      index.js

+ 29 - 31
index.js

@@ -23,36 +23,34 @@
 
 /* global */
 
-if (!this.singlefile) {
-	this.singlefile = {
-		extension: {
-			core: {
-				bg: {},
-				content: {}
-			},
-			ui: {
-				bg: {},
-				content: {}
-			}
+this.singlefile = this.singlefile || {
+	extension: {
+		core: {
+			bg: {},
+			content: {}
 		},
-		lib: {
-			fetch: {
-				bg: {},
-				content: {}
-			},
-			frameTree: {
-				bg: {},
-				content: {}
-			},
-			hooks: {
-				content: {}
-			},
-			lazy: {
-				bg: {},
-				content: {}
-			},
-			vendor: {},
-			modules: {}
+		ui: {
+			bg: {},
+			content: {}
 		}
-	};
-}
+	},
+	lib: {
+		fetch: {
+			bg: {},
+			content: {}
+		},
+		frameTree: {
+			bg: {},
+			content: {}
+		},
+		hooks: {
+			content: {}
+		},
+		lazy: {
+			bg: {},
+			content: {}
+		},
+		vendor: {},
+		modules: {}
+	}
+};