@polymer-vis/file-drop-zone
Advanced tools
Comparing version 3.0.0-pre.12 to 3.0.0-pre.12a
{ | ||
"extends": ["eslint:recommended", "google", "prettier"], | ||
"parserOptions": { | ||
"ecmaVersion": 6 | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
@@ -6,0 +7,0 @@ "env": { |
@@ -1,6 +0,7 @@ | ||
import { Element } from '../@polymer/polymer/polymer-element.js'; | ||
import { GestureEventListeners } from '../@polymer/polymer/lib/mixins/gesture-event-listeners.js'; | ||
import '../@polymer/iron-flex-layout/iron-flex-layout.js'; | ||
import '../@polymer/iron-flex-layout/iron-flex-layout-classes.js'; | ||
import { addListener } from '../@polymer/polymer/lib/utils/gestures.js'; | ||
import {PolymerElement, html} from '@polymer/polymer/polymer-element.js'; | ||
import {GestureEventListeners} from '@polymer/polymer/lib/mixins/gesture-event-listeners.js'; | ||
import {addListener} from '@polymer/polymer/lib/utils/gestures.js'; | ||
import '@polymer/iron-flex-layout/iron-flex-layout.js'; | ||
import '@polymer/iron-flex-layout/iron-flex-layout-classes.js'; | ||
/** | ||
@@ -73,5 +74,5 @@ ### Quick Start | ||
*/ | ||
class FileDropZone extends GestureEventListeners(Element) { | ||
class FileDropZone extends GestureEventListeners(PolymerElement) { | ||
static get template() { | ||
return ` | ||
return html` | ||
<style include="iron-flex iron-flex-alignment"> | ||
@@ -78,0 +79,0 @@ :host { |
{ | ||
"name": "@polymer-vis/file-drop-zone", | ||
"flat": true, | ||
"version": "3.0.0-pre.12", | ||
"description": "Polymer 3.0 element for dragging and dropping files into a customizable dropzone.", | ||
"version": "3.0.0-pre.12a", | ||
"description": "Polymer 2.0 element for dragging and dropping files into a customizable dropzone.", | ||
"author": "eterna2 <eterna2@hotmail.com>", | ||
@@ -17,3 +17,3 @@ "keywords": [ | ||
], | ||
"main": "file-drop-zone.js", | ||
"main": "file-drop-zone.html", | ||
"license": "MIT", | ||
@@ -24,3 +24,10 @@ "dependencies": { | ||
}, | ||
"devDependencies": {} | ||
"devDependencies": { | ||
"eslint": "^4.19.1", | ||
"eslint-config-google": "^0.9.1", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-html": "^4.0.3", | ||
"eslint-plugin-prettier": "^2.6.0", | ||
"prettier": "^1.12.1" | ||
} | ||
} |
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
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
247906
368
6