Luis Figueiredo 8 년 전
부모
커밋
8f9149be8b
1개의 변경된 파일9개의 추가작업 그리고 9개의 파일을 삭제
  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)
 	}
+}
 
 ```