@gedit/assets-font
Advanced tools
Comparing version 0.1.67 to 0.1.68
@@ -67,3 +67,3 @@ "use strict"; | ||
case 0: | ||
font = new FontFace(v.name, "url(" + v.src + ")"); | ||
font = new FontFace(v.name, "url(".concat(v.src, ")")); | ||
return [4 /*yield*/, font.load()]; | ||
@@ -87,11 +87,11 @@ case 1: | ||
__decorate([ | ||
inversify_1.inject(common_1.AssetsFontService), | ||
(0, inversify_1.inject)(common_1.AssetsFontService), | ||
__metadata("design:type", Object) | ||
], AssetsFontFrontendContribution.prototype, "assetsFontService", void 0); | ||
__decorate([ | ||
inversify_1.inject(assets_font_manager_1.AssetsFontManager), | ||
(0, inversify_1.inject)(assets_font_manager_1.AssetsFontManager), | ||
__metadata("design:type", assets_font_manager_1.AssetsFontManager) | ||
], AssetsFontFrontendContribution.prototype, "fontManager", void 0); | ||
AssetsFontFrontendContribution = __decorate([ | ||
inversify_1.injectable() | ||
(0, inversify_1.injectable)() | ||
], AssetsFontFrontendContribution); | ||
@@ -98,0 +98,0 @@ return AssetsFontFrontendContribution; |
@@ -37,3 +37,3 @@ "use strict"; | ||
AssetsFontManager = __decorate([ | ||
inversify_1.injectable() | ||
(0, inversify_1.injectable)() | ||
], AssetsFontManager); | ||
@@ -40,0 +40,0 @@ return AssetsFontManager; |
@@ -56,2 +56,15 @@ "use strict"; | ||
}, | ||
/* {id: 132, descName: '杨任东竹石体-Bold' }, | ||
{id: 131, descName: '思源宋体heavey' }, | ||
{id: 128, descName: '站酷小薇体' }, | ||
{id: 120, descName: '阿里汉仪智能黑体' }, | ||
{id: 119, descName: '站酷高端黑' }, | ||
{id: 118, descName: '庞门正道标题体2' }, | ||
{id: 48, descName: '思源黑体-正粗' }, | ||
{id: 47, descName: '思源黑体-细' }, | ||
{id: 46, descName: '思源黑体-普通' }, | ||
{id: 45, descName: '思源黑体-极细' }, | ||
{id: 44, descName: '思源黑体-粗' }, | ||
{id: 43, descName: '思源黑体-超粗' }, | ||
{id: 42, descName: '思源黑体-常规' }, */ | ||
]; | ||
@@ -58,0 +71,0 @@ // 字体排序 |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -77,3 +77,3 @@ "use strict"; | ||
AssetsFontServiceByNode = __decorate([ | ||
inversify_1.injectable() | ||
(0, inversify_1.injectable)() | ||
], AssetsFontServiceByNode); | ||
@@ -80,0 +80,0 @@ return AssetsFontServiceByNode; |
{ | ||
"name": "@gedit/assets-font", | ||
"version": "0.1.67", | ||
"version": "0.1.68", | ||
"license": "MIT", | ||
@@ -12,5 +12,5 @@ "main": "lib/common/index", | ||
"dependencies": { | ||
"@gedit/application-common": "^0.1.61", | ||
"@gedit/connection": "^0.1.61", | ||
"@gedit/utils": "^0.1.63", | ||
"@gedit/application-common": "^0.1.62", | ||
"@gedit/connection": "^0.1.62", | ||
"@gedit/utils": "^0.1.64", | ||
"got": "^11.8.2" | ||
@@ -34,3 +34,3 @@ }, | ||
}, | ||
"gitHead": "9b41f77f8ae3b6aa3bf567402f699b5faaff532b" | ||
"gitHead": "db74e452a213a016b3be82938fe68df8fdde2e6b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
41845
650
Updated@gedit/connection@^0.1.62
Updated@gedit/utils@^0.1.64