Skip to content

Commit 3f4bc0d

Browse files
authored
Merge pull request #6 from lume/update-lowclass-and-lume-element
replace `Observable.ts` with `@lume/eventful` and remove `lowclass`
2 parents 79c0838 + 4893f2b commit 3f4bc0d

File tree

11 files changed

+18
-187
lines changed

11 files changed

+18
-187
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+
"__#1@#eventMap": Map<string, Set<[Function, any]>> | null;
3+
on(eventName: string, callback: Function, context?: any): void;
4+
off(eventName: string, callback?: Function, context?: any): void;
5+
emit(eventName: string, data?: any): void;
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: 2 additions & 2 deletions
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,14 +54,13 @@
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",
6060
"serve": "^1.4.0"
6161
},
6262
"devDependencies": {
63-
"@lume/cli": "^0.11.0",
63+
"@lume/cli": "^0.13.0",
6464
"@types/mkdirp": "^0.5.2",
6565
"@types/node": "^13.1.8",
6666
"prettier": "3.0.3",

src/Observable.ts

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

0 commit comments

Comments
 (0)