2
0
mirror of https://github.com/PitPik/colorPicker.git synced 2025-09-24 16:40:57 -06:00

document can differ from window.document

See issue #3
This commit is contained in:
Ruben Almeida 2016-08-17 23:47:07 +02:00 committed by GitHub
parent 6713cc30df
commit fe20c9f770

View File

@ -1,7 +1,8 @@
;(function(window, undefined){ ;(function(window, undefined){
"use strict" "use strict"
var _data = window.ColorPicker, // will be deleted in buildView() and holds: var document = window.document,
_data = window.ColorPicker, // will be deleted in buildView() and holds:
// window.ColorPicker = { // comes from colorPicker.data.js and will be overwritten. // window.ColorPicker = { // comes from colorPicker.data.js and will be overwritten.
// _html: ..., // holds the HTML markup of colorPicker // _html: ..., // holds the HTML markup of colorPicker
// _cssFunc: ..., // CSS for all the sliders // _cssFunc: ..., // CSS for all the sliders