#81 globals $ removed
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
/* globals $ */
|
|
||||||
import {jGraduate, jGraduateMethod} from './jgraduate/jQuery.jGraduate.js';
|
import {jGraduate, jGraduateMethod} from './jgraduate/jQuery.jGraduate.js';
|
||||||
// import jQueryPluginJPicker from './jgraduate/jQuery.jPicker.js';
|
|
||||||
import PaintBox from './PaintBox.js';
|
import PaintBox from './PaintBox.js';
|
||||||
|
|
||||||
const template = document.createElement('template');
|
const template = document.createElement('template');
|
||||||
@@ -170,7 +168,7 @@ export class SeColorPicker extends HTMLElement {
|
|||||||
*/
|
*/
|
||||||
connectedCallback () {
|
connectedCallback () {
|
||||||
this.paintBox = new PaintBox(this.$block, this.type);
|
this.paintBox = new PaintBox(this.$block, this.type);
|
||||||
$(this.$picker).click(() => {
|
this.$picker.addEventListener('click', () => {
|
||||||
let {paint} = this.paintBox;
|
let {paint} = this.paintBox;
|
||||||
jGraduateMethod(
|
jGraduateMethod(
|
||||||
this.$color_picker,
|
this.$color_picker,
|
||||||
|
|||||||
Reference in New Issue
Block a user