esoftplay 0.0.118-c → 0.0.118-d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/router.js +3 -2
- package/package.json +1 -1
package/bin/router.js
CHANGED
|
@@ -397,6 +397,7 @@ declare module "esoftplay" {
|
|
|
397
397
|
function config(param?: string, ...params: string[]): any;
|
|
398
398
|
function _config(): string | number | boolean;
|
|
399
399
|
function mod(path: string): any;
|
|
400
|
+
function modProp(path: string): any;
|
|
400
401
|
function reducer(): any;
|
|
401
402
|
function versionName(): string;
|
|
402
403
|
function navigations(): any;
|
|
@@ -630,11 +631,11 @@ function createRouter() {
|
|
|
630
631
|
});
|
|
631
632
|
|
|
632
633
|
let Props = 'function properties(modtask) {' + "\n\t" +
|
|
633
|
-
'var
|
|
634
|
+
'var out = {}' + "\n\t" +
|
|
634
635
|
'switch (modtask) {' + "\n" +
|
|
635
636
|
TaskProperty + "\t" +
|
|
636
637
|
'}' + "\n\t" +
|
|
637
|
-
'return
|
|
638
|
+
'return out;' + "\n" +
|
|
638
639
|
'}' + "\n" +
|
|
639
640
|
'module.exports = properties;';
|
|
640
641
|
if (isChange(tmpDir + "properties.js", Props)) {
|