Compare commits

...

6 Commits

Author SHA1 Message Date
1892bd6df1 2.0.35 2016-09-19 20:50:09 +02:00
20bdf70686 Update description 2016-09-19 20:50:01 +02:00
7787330d63 2.0.34 2016-09-19 20:48:23 +02:00
67c3efdd59 improve README 2016-09-19 20:48:11 +02:00
7655ba749a 2.0.33 2016-09-19 00:44:12 +02:00
0a089b6f10 removed unnecessary import 2016-09-19 00:43:58 +02:00
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# early # early
minimal and fast loading plugins for startup time measuring minimal and fast loading plugin for startup time measuring
## Availabililty ## Availabililty
[![npm](https://push.rocks/assets/repo-button-npm.svg)](https://www.npmjs.com/package/early) [![npm](https://push.rocks/assets/repo-button-npm.svg)](https://www.npmjs.com/package/early)
@ -30,3 +30,5 @@ early.stop().then((loadingTime:number) => { // loadingTime in milliseconds
}); // stop "early" when your module is ready }); // stop "early" when your module is ready
``` ```
[![npm](https://push.rocks/assets/repo-header.svg)](https://push.rocks)

View File

@ -1,7 +1,7 @@
{ {
"name": "early", "name": "early",
"version": "2.0.32", "version": "2.0.35",
"description": "nice module loading animation for modules that need a little starting time.", "description": "minimal and fast loading plugin for startup time measuring",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",
"scripts": { "scripts": {

View File

@ -1,9 +1,7 @@
import 'typings-global' import 'typings-global'
import path = require('path')
import chalk = require('chalk') import chalk = require('chalk')
import q = require('q') import q = require('q')
let doText: boolean = false let doText: boolean = false
let moduleName: string = 'undefined module name' let moduleName: string = 'undefined module name'
let startTime = Date.now() let startTime = Date.now()