@factor/plugin-highlight-code
Advanced tools
Comparing version 1.0.0-beta.9 to 1.0.0-beta.11
@@ -6,52 +6,4 @@ # Change Log | ||
# [1.0.0-beta.9](https://github.com/fiction-com/factor/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2019-10-30) | ||
# [1.0.0-beta.11](https://github.com/fiction-com/factor/compare/v1.0.0-beta.9...v1.0.0-beta.11) (2019-11-11) | ||
**Note:** Version bump only for package @factor/plugin-highlight-code | ||
# [1.0.0-beta.8](https://github.com/fiction-com/factor/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2019-10-30) | ||
**Note:** Version bump only for package @factor/plugin-highlight-code | ||
# [1.0.0-beta.7](https://github.com/fiction-com/factor/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2019-10-28) | ||
**Note:** Version bump only for package @factor/plugin-highlight-code | ||
# [1.0.0-beta.6](https://github.com/fiction-com/factor/compare/v1.0.0-beta.5...v1.0.0-beta.6) (2019-10-25) | ||
**Note:** Version bump only for package @factor/plugin-highlight-code | ||
# [1.0.0-beta.5](https://github.com/fiction-com/factor/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2019-10-25) | ||
**Note:** Version bump only for package @factor/plugin-highlight-code | ||
# [1.0.0-beta.4](https://github.com/fiction-com/factor/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2019-09-30) | ||
**Note:** Version bump only for package @factor/plugin-highlight-code | ||
# [1.0.0-beta.1](https://github.com/fiction-com/factor/compare/v1.0.0-beta.0...v1.0.0-beta.1) (2019-09-23) | ||
**Note:** Version bump only for package @factor/plugin-highlight-code |
@@ -1,7 +0,5 @@ | ||
export default Factor => { | ||
return { | ||
highlightCode: { | ||
style: () => import("./style.vue") | ||
} | ||
export default { | ||
highlightCode: { | ||
style: () => import("./style.vue") | ||
} | ||
} |
16
index.js
@@ -1,11 +0,5 @@ | ||
export default Factor => { | ||
return new (class { | ||
constructor() { | ||
Factor.$filters.add("components", _ => { | ||
_["plugin-highlight-code"] = () => import("./highlight-code.vue") | ||
return _ | ||
}) | ||
} | ||
})() | ||
} | ||
import { pushToFilter } from "@factor/tools" | ||
pushToFilter("global-components", { | ||
name: "plugin-highlight-code", | ||
component: () => import("./highlight-code.vue") | ||
}) |
{ | ||
"name": "@factor/plugin-highlight-code", | ||
"description": "Add a syntax highlighting component to your Factor app.", | ||
"version": "1.0.0-beta.9", | ||
"version": "1.0.0-beta.11", | ||
"license": "GPL-2.0", | ||
"type": "module", | ||
"factor": { | ||
@@ -15,3 +16,3 @@ "target": [ | ||
}, | ||
"gitHead": "1c491aaa127b2b5c6b5e3cd7630451b01e180edc", | ||
"gitHead": "ad83f9077fce6c17e98a7765bc272d8c630f8cca", | ||
"keywords": [ | ||
@@ -18,0 +19,0 @@ "factor", |
Sorry, the diff of this file is not supported yet
Yes
862429
1745