vue-code-highlight
Advanced tools
Comparing version 0.4.4 to 0.5.0
@@ -0,0 +0,0 @@ // https://eslint.org/docs/user-guide/configuring |
@@ -0,0 +0,0 @@ module.exports = { |
@@ -768,5 +768,5 @@ /* eslint-disable */ | ||
(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=" pre[class*=\"language-\"][data-v-23ac0a9e] { display: inline-block; padding-right: 10em; padding-top: 3rem; border-radius: 6px; background-image: url(\"./assets/window-controls.svg\"); background-repeat: no-repeat; background-position: 16px 16px; box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); } "; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })(); | ||
(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=" pre[class*=\"language-\"][data-v-9d5e6bde] { display: inline-block; padding-right: 10em; padding-top: 3rem; border-radius: 6px; background-image: url(\"./assets/window-controls.svg\"); background-repeat: no-repeat; background-position: 16px 16px; box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); } "; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })(); | ||
var vueHighlight = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',{ref:"code",class:_vm.languageClass},[_vm._v(" "),_c('code',[_vm._v("\n "),_vm._t("default"),_vm._v("\n ")],2),_vm._v("\n")])},staticRenderFns: [],_scopeId: 'data-v-23ac0a9e', | ||
var vueHighlight = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',{ref:"code",class:_vm.languageClass},[_vm._v(" "),_c('code',[_vm._v("\n "),_vm._t("default"),_vm._v("\n ")],2),_vm._v("\n")])},staticRenderFns: [],_scopeId: 'data-v-9d5e6bde', | ||
name: 'code-highlight', | ||
@@ -799,3 +799,2 @@ props: { | ||
function install(Vue) { | ||
console.log('Install'); | ||
if (install.installed) { return; } | ||
@@ -823,3 +822,3 @@ install.installed = true; | ||
export default vueHighlight; | ||
export { install }; | ||
export default install; | ||
export { vueHighlight }; |
@@ -771,5 +771,5 @@ var vueCodeHighlight = (function (exports) { | ||
(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=" pre[class*=\"language-\"][data-v-23ac0a9e] { display: inline-block; padding-right: 10em; padding-top: 3rem; border-radius: 6px; background-image: url(\"./assets/window-controls.svg\"); background-repeat: no-repeat; background-position: 16px 16px; box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); } "; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })(); | ||
(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=" pre[class*=\"language-\"][data-v-9d5e6bde] { display: inline-block; padding-right: 10em; padding-top: 3rem; border-radius: 6px; background-image: url(\"./assets/window-controls.svg\"); background-repeat: no-repeat; background-position: 16px 16px; box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); } "; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })(); | ||
var vueHighlight = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',{ref:"code",class:_vm.languageClass},[_vm._v(" "),_c('code',[_vm._v("\n "),_vm._t("default"),_vm._v("\n ")],2),_vm._v("\n")])},staticRenderFns: [],_scopeId: 'data-v-23ac0a9e', | ||
var vueHighlight = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',{ref:"code",class:_vm.languageClass},[_vm._v(" "),_c('code',[_vm._v("\n "),_vm._t("default"),_vm._v("\n ")],2),_vm._v("\n")])},staticRenderFns: [],_scopeId: 'data-v-9d5e6bde', | ||
name: 'code-highlight', | ||
@@ -802,3 +802,2 @@ props: { | ||
function install(Vue) { | ||
console.log('Install'); | ||
if (install.installed) { return; } | ||
@@ -826,4 +825,4 @@ install.installed = true; | ||
exports.install = install; | ||
exports.default = vueHighlight; | ||
exports.default = install; | ||
exports.vueHighlight = vueHighlight; | ||
@@ -830,0 +829,0 @@ return exports; |
@@ -774,5 +774,5 @@ (function (global, factory) { | ||
(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=" pre[class*=\"language-\"][data-v-23ac0a9e] { display: inline-block; padding-right: 10em; padding-top: 3rem; border-radius: 6px; background-image: url(\"./assets/window-controls.svg\"); background-repeat: no-repeat; background-position: 16px 16px; box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); } "; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })(); | ||
(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=" pre[class*=\"language-\"][data-v-9d5e6bde] { display: inline-block; padding-right: 10em; padding-top: 3rem; border-radius: 6px; background-image: url(\"./assets/window-controls.svg\"); background-repeat: no-repeat; background-position: 16px 16px; box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); } "; style.type='text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); } })(); | ||
var vueHighlight = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',{ref:"code",class:_vm.languageClass},[_vm._v(" "),_c('code',[_vm._v("\n "),_vm._t("default"),_vm._v("\n ")],2),_vm._v("\n")])},staticRenderFns: [],_scopeId: 'data-v-23ac0a9e', | ||
var vueHighlight = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',{ref:"code",class:_vm.languageClass},[_vm._v(" "),_c('code',[_vm._v("\n "),_vm._t("default"),_vm._v("\n ")],2),_vm._v("\n")])},staticRenderFns: [],_scopeId: 'data-v-9d5e6bde', | ||
name: 'code-highlight', | ||
@@ -805,3 +805,2 @@ props: { | ||
function install(Vue) { | ||
console.log('Install'); | ||
if (install.installed) { return; } | ||
@@ -829,4 +828,4 @@ install.installed = true; | ||
exports.install = install; | ||
exports.default = vueHighlight; | ||
exports.default = install; | ||
exports.vueHighlight = vueHighlight; | ||
@@ -833,0 +832,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
{ | ||
"name": "vue-code-highlight", | ||
"version": "0.4.4", | ||
"version": "0.5.0", | ||
"author": "Jan Bílek", | ||
@@ -5,0 +5,0 @@ "email": "honza@elision.design", |
@@ -0,0 +0,0 @@ # vue-code-highlight |
@@ -0,0 +0,0 @@ import vue from 'rollup-plugin-vue'; // Handle .vue SFC files |
@@ -0,0 +0,0 @@ import Vue from 'vue'; |
@@ -0,0 +0,0 @@ import Prism from 'prism-es6'; |
@@ -6,3 +6,3 @@ // Import vue component | ||
// Declare install function executed by Vue.use() | ||
function install(Vue) { | ||
export default function install(Vue) { | ||
if (install.installed) return; | ||
@@ -31,2 +31,2 @@ install.installed = true; | ||
// To allow use as module (npm/webpack/etc.) export component | ||
export default vueHighlight; | ||
export { vueHighlight }; |
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
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
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
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
718550
4837
3