Skip to content

Commit 35ec790

Browse files
committed
replace Observable.ts with @lume/eventful and remove lowclass
1 parent 79c0838 commit 35ec790

File tree

11 files changed

+17
-186
lines changed

11 files changed

+17
-186
lines changed

dist/Observable.d.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

dist/Observable.d.ts.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/Observable.js

Lines changed: 0 additions & 64 deletions
This file was deleted.

dist/Observable.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/index.d.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
import { Observable } from './Observable.js';
1+
declare const FileScanner_base: (new (...a: any[]) => {
2+
on(eventName: string, callback: Function, context?: any): void;
3+
off(eventName: string, callback?: Function | undefined, context?: any): void;
4+
emit(eventName: string, data?: any): void;
5+
"__#1@#eventMap": Map<string, [Function, any][]> | null;
6+
}) & (new (...a: any[]) => object);
27
/**
38
* @class FileScanner - Scans files for JSDoc-style comments, outputting usable
49
* objects representing the found tags.
5-
* @extends Observable
10+
* @extends Eventful
611
*/
7-
export declare class FileScanner extends Observable {
12+
export declare class FileScanner extends FileScanner_base {
813
/**
914
* @method scanFile - Scans a file and triggers the 'comment' for each comment
1015
* that the scanner parsers while scanning the file.

dist/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
},
4646
"homepage": "https://github.com/trusktr/readem",
4747
"dependencies": {
48+
"@lume/eventful": "^0.3.2",
4849
"army-knife": "^0.2.0",
4950
"async": "^0.9.0",
5051
"at-at": "^1.1.0",
@@ -53,7 +54,6 @@
5354
"ejs": "^2.2.4",
5455
"highlight.js": "^8.4.0",
5556
"jsdoctypeparser": "^6.1.0",
56-
"lowclass": "^7.0.0",
5757
"lume": "0.0.0-rc.0",
5858
"mkdirp": "^0.5.1",
5959
"rndm": "^1.1.0",

src/Observable.ts

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)