Luis Figueiredo 8 yıl önce
ebeveyn
işleme
8f9149be8b
1 değiştirilmiş dosya ile 9 ekleme ve 9 silme
  1. 9 9
      README.md

+ 9 - 9
README.md

@@ -12,16 +12,16 @@ Since as osgi there is no order on module loading, with context.with we do the c
 the goal is to keep module always running with no dependencies in case module depends on other module to perform its main operation, it can always return an error instead of not working at all
 
 ```javascript
-	// using node modules as bundles:
-	var activator = {
-		start(context) {
-			context.setInterval(() => {  // using context.setInterval it will automatically clearInterval on bundle stop
-				context.with(['prettyjson'],(prettyjson) => {
-					prettyjson.render({test: 'test'})			
-				})
-			},3000)
-		}
+// using node modules as bundles:
+var activator = {
+	start(context) {
+		context.setInterval(() => {  // using context.setInterval it will automatically clearInterval on bundle stop
+			context.with(['prettyjson'],(prettyjson) => {
+				prettyjson.render({test: 'test'})			
+			})
+		},3000)
 	}
+}
 
 ```