File tree Expand file tree Collapse file tree 4 files changed +20
-3
lines changed Expand file tree Collapse file tree 4 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " CPAssistant.js" ,
3
- "version" : " 1.1.0 " ,
3
+ "version" : " 1.1.1 " ,
4
4
"description" : " " ,
5
5
"main" : " index.js" ,
6
6
"license" : " GPL-3.0-only" ,
Original file line number Diff line number Diff line change 1
1
import { Dict } from './utils/type' ;
2
2
import Module from './types/module' ;
3
3
import Feature from './types/feature' ;
4
- import ModuleVjudge from './modules/vjudge/main' ;
5
- import ModuleQOJ from './modules/qoj/main' ;
6
4
import ModuleCodeforces from './modules/codeforces/main' ;
5
+ import ModuleHDU from './modules/hdu/main' ;
6
+ import ModuleQOJ from './modules/qoj/main' ;
7
+ import ModuleVjudge from './modules/vjudge/main' ;
7
8
8
9
export default class App {
9
10
modules : Dict < Module > ;
@@ -44,3 +45,4 @@ export const app = new App();
44
45
app . register ( new ModuleVjudge ( app ) ) ;
45
46
app . register ( new ModuleCodeforces ( app ) ) ;
46
47
app . register ( new ModuleQOJ ( app ) ) ;
48
+ app . register ( new ModuleHDU ( app ) ) ;
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ const config: Dict<any> = {
6
6
'codeforces.com' ,
7
7
'codeforc.es' ,
8
8
] ,
9
+ hdu : [
10
+ 'acm.hdu.edu.cn' ,
11
+ ] ,
9
12
qoj : [
10
13
'qoj.ac' ,
11
14
'pjudge.ac' ,
Original file line number Diff line number Diff line change
1
+ import config from '../../config'
2
+ import App from '../../app'
3
+ import Module from "../../types/module"
4
+
5
+ export default class ModuleHDU extends Module {
6
+ run ( ) {
7
+ }
8
+
9
+ constructor ( app : App ) {
10
+ super ( app , 'hdu' , config . match . hdu )
11
+ }
12
+ }
You can’t perform that action at this time.
0 commit comments