Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polymer/iron-demo-helpers

Package Overview
Dependencies
Maintainers
7
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/iron-demo-helpers - npm Package Compare versions

Comparing version 3.0.0-pre.19 to 3.0.0-pre.20

wct.conf.json

17

demo-snippet.js

@@ -133,4 +133,4 @@ /**

_markdown: {
type: String
}
type: String,
},
},

@@ -162,6 +162,11 @@

// Hack: In safari + shady dom, sometime we get an empty 'class' attribute.
// if we do, delete it.
snippet = snippet.replace(/ class=""/g, '');
// Boolean properties are displayed as checked="", so remove the ="" bit.
snippet = snippet.replace(/=""/g, '');
this._markdown = '```\n' + snippet + '\n' + '```';
this._markdown = '```\n' + snippet + '\n' +
'```';
// Stamp the template.

@@ -173,3 +178,4 @@ if (!template.hasAttribute('is')) {

this._observer = null;
dom(this).appendChild(document.importNode(template.content, true));
dom(this).appendChild(
document.importNode(template.content, true));
}

@@ -179,3 +185,4 @@ },

_copyToClipboard: function() {
// From https://github.com/google/material-design-lite/blob/master/docs/_assets/snippets.js
// From
// https://github.com/google/material-design-lite/blob/master/docs/_assets/snippets.js
var snipRange = document.createRange();

@@ -182,0 +189,0 @@ snipRange.selectNodeContents(this.$.code);

@@ -34,5 +34,5 @@ /**

value: {
type: String
}
type: String,
},
}
});

@@ -16,13 +16,15 @@ {

"devDependencies": {
"@polymer/gen-typescript-declarations": "^1.2.0",
"@polymer/gen-typescript-declarations": "^1.2.2",
"bower": "^1.8.0",
"@polymer/iron-component-page": "^3.0.0-pre.19",
"webmat": "^0.2.0",
"@polymer/iron-component-page": "^3.0.0-pre.20",
"@webcomponents/webcomponentsjs": "^2.0.0",
"@polymer/test-fixture": "^3.0.0-pre.19",
"wct-browser-legacy": "^0.0.1-pre.11"
"@polymer/test-fixture": "^3.0.0-pre.20",
"wct-browser-legacy": "^1.0.1"
},
"scripts": {
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir ."
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir .",
"format": "webmat && npm run update-types"
},
"version": "3.0.0-pre.19",
"version": "3.0.0-pre.20",
"resolutions": {

@@ -38,8 +40,8 @@ "inherits": "2.0.3",

"@polymer/polymer": "^3.0.0",
"@polymer/font-roboto": "^3.0.0-pre.19",
"@polymer/iron-flex-layout": "^3.0.0-pre.19",
"@polymer/iron-location": "^3.0.0-pre.19",
"@polymer/marked-element": "^3.0.0-pre.19",
"@polymer/prism-element": "^3.0.0-pre.19"
"@polymer/font-roboto": "^3.0.0-pre.20",
"@polymer/iron-flex-layout": "^3.0.0-pre.20",
"@polymer/iron-location": "^3.0.0-pre.20",
"@polymer/marked-element": "^3.0.0-pre.20",
"@polymer/prism-element": "^3.0.0-pre.20"
}
}

@@ -34,5 +34,5 @@ /**

value: {
type: String
}
type: String,
},
}
});

@@ -97,3 +97,3 @@ /**

computed: '__computeUrl(path, query, hash)',
type: String
type: String,
},

@@ -110,11 +110,11 @@

path: {
type: String
type: String,
},
query: {
type: String
type: String,
},
hash: {
type: String
type: String,
}

@@ -121,0 +121,0 @@ },

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc