fix(core): update
This commit is contained in:
parent
bab9124ad9
commit
74fc97a220
@ -24,6 +24,7 @@
|
|||||||
"tslint-config-prettier": "^1.15.0"
|
"tslint-config-prettier": "^1.15.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@pushrocks/smartdelay": "^2.0.10",
|
||||||
"@pushrocks/smartpromise": "^3.1.3",
|
"@pushrocks/smartpromise": "^3.1.3",
|
||||||
"@tsclass/tsclass": "^3.0.29"
|
"@tsclass/tsclass": "^3.0.29"
|
||||||
},
|
},
|
||||||
|
@ -71,7 +71,7 @@ export class JsonLdTag extends Tag {
|
|||||||
super();
|
super();
|
||||||
const jsonLdElement = document.createElement('script');
|
const jsonLdElement = document.createElement('script');
|
||||||
jsonLdElement.type = 'application/ld+json';
|
jsonLdElement.type = 'application/ld+json';
|
||||||
jsonLdElement.text = JSON.stringify(JSON.stringify(ldObjectArg));
|
jsonLdElement.text = JSON.stringify(ldObjectArg);
|
||||||
this.elementRef = jsonLdElement;
|
this.elementRef = jsonLdElement;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ export class TagManager {
|
|||||||
const subPageLevel = new TagLevel(this, 'subpage');
|
const subPageLevel = new TagLevel(this, 'subpage');
|
||||||
subPageLevel.title = metaObjectArg.title;
|
subPageLevel.title = metaObjectArg.title;
|
||||||
if (metaObjectArg.description) {
|
if (metaObjectArg.description) {
|
||||||
this.baseLevel.addTag(new MetaTag('description', metaObjectArg.description));
|
subPageLevel.addTag(new MetaTag('description', metaObjectArg.description));
|
||||||
}
|
}
|
||||||
await this.activeLevel.disable();
|
await this.activeLevel.disable();
|
||||||
this.activeLevel = subPageLevel;
|
this.activeLevel = subPageLevel;
|
||||||
|
@ -47,4 +47,6 @@ export class WebSetup {
|
|||||||
const subLevel = await this.tagManager.setSubPageLevel(metaObjectArg);
|
const subLevel = await this.tagManager.setSubPageLevel(metaObjectArg);
|
||||||
return subLevel;
|
return subLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public flashTitle(flashTextArg: string) {}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
// pushrocks scope
|
// pushrocks scope
|
||||||
|
import * as smartdelay from '@pushrocks/smartdelay';
|
||||||
import * as smartpromise from '@pushrocks/smartpromise';
|
import * as smartpromise from '@pushrocks/smartpromise';
|
||||||
|
|
||||||
export { smartpromise };
|
export { smartdelay, smartpromise };
|
||||||
|
|
||||||
// tsclass scope
|
// tsclass scope
|
||||||
import * as tsclass from '@tsclass/tsclass';
|
import * as tsclass from '@tsclass/tsclass';
|
||||||
|
Loading…
Reference in New Issue
Block a user