@polymer/prism-element
Advanced tools
Comparing version 3.0.0-pre.6 to 3.0.0-pre.7
@@ -1,4 +0,5 @@ | ||
import '../../polymer/polymer.js'; | ||
import { html } from '../../polymer/polymer.js'; | ||
import '../prism-highlighter.js'; | ||
import '../prism-theme-default.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
/** | ||
@@ -14,3 +15,3 @@ @license | ||
Polymer({ | ||
_template: Polymer.html` | ||
_template: html` | ||
<style include="prism-theme-default"> | ||
@@ -17,0 +18,0 @@ pre { |
{ | ||
"name": "@polymer/prism-element", | ||
"flat": true, | ||
"version": "3.0.0-pre.6", | ||
"version": "3.0.0-pre.7", | ||
"description": "Prism.js import and syntax highlighting", | ||
@@ -23,9 +23,9 @@ "contributors": [ | ||
"dependencies": { | ||
"@polymer/polymer": "^3.0.0-pre.6" | ||
"@polymer/polymer": "^3.0.0-pre.7" | ||
}, | ||
"devDependencies": { | ||
"@polymer/iron-component-page": "^3.0.0-pre.6", | ||
"@polymer/paper-styles": "^3.0.0-pre.6", | ||
"@polymer/iron-component-page": "^3.0.0-pre.7", | ||
"@polymer/paper-styles": "^3.0.0-pre.7", | ||
"@webcomponents/webcomponentsjs": "^1.0.0", | ||
"@polymer/test-fixture": "^3.0.0-pre.6", | ||
"@polymer/test-fixture": "^3.0.0-pre.7", | ||
"wct-browser-legacy": "0.0.1-pre.11" | ||
@@ -32,0 +32,0 @@ }, |
@@ -1,3 +0,4 @@ | ||
import '../polymer/polymer.js'; | ||
import { Base } from '../polymer/polymer.js'; | ||
import './prism-import.js'; | ||
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js'; | ||
@@ -59,3 +60,3 @@ var HIGHLIGHT_EVENT = 'syntax-highlight'; | ||
if (!event.detail || !event.detail.code) { | ||
Polymer.Base._warn('Malformed', HIGHLIGHT_EVENT, 'event:', event.detail); | ||
Base._warn('Malformed', HIGHLIGHT_EVENT, 'event:', event.detail); | ||
return; | ||
@@ -62,0 +63,0 @@ } |
import '../../polymer/polymer.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
/** | ||
@@ -3,0 +4,0 @@ @license |
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
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
25682
16
350