File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ < p > spectrum is licened under the < a href ="https://raw.githubusercontent.com/bgrins/spectrum/1.7.1/LICENSE "> MIT License</ a > .</ p >
Original file line number Diff line number Diff line change 11/***
2- Spectrum Colorpicker v1.7.0
2+ Spectrum Colorpicker v1.7.1
33https://github.com/bgrins/spectrum
44Author: Brian Grinstead
55License: MIT
Original file line number Diff line number Diff line change 11<dotnetnuke type="Package" version="5.0">
22 <packages>
3- <package name="spectrum" type="JavaScript_Library" version="1.7.0 ">
3+ <package name="spectrum" type="JavaScript_Library" version="1.7.1 ">
44 <friendlyName>Spectrum</friendlyName>
55 <description>The No Hassle JavaScript Colorpicker</description>
66 <owner>
2121 <libraryName>spectrum</libraryName>
2222 <fileName>spectrum.js</fileName>
2323 <preferredScriptLocation>BodyBottom</preferredScriptLocation>
24- <CDNPath>https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.7.0 /spectrum.min.js</CDNPath>
24+ <CDNPath>https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.7.1 /spectrum.min.js</CDNPath>
2525 <objectName>jQuery.fn.spectrum</objectName>
2626 </javaScriptLibrary>
2727 </component>
Original file line number Diff line number Diff line change 1- // Spectrum Colorpicker v1.7.0
1+ // Spectrum Colorpicker v1.7.1
22// https://github.com/bgrins/spectrum
33// Author: Brian Grinstead
44// License: MIT
11841184 $ . fn . spectrum . defaults = defaultOpts ;
11851185 $ . fn . spectrum . inputTypeColorSupport = function inputTypeColorSupport ( ) {
11861186 if ( typeof inputTypeColorSupport . _cachedResult === "undefined" ) {
1187- var colorInput = $ ( "<input type='color' value='!' />" ) [ 0 ] ;
1188- inputTypeColorSupport . _cachedResult = colorInput . type === "color" && colorInput . value !== "! " ;
1187+ var colorInput = $ ( "<input type='color'/>" ) [ 0 ] ; // if color element is supported, value will default to not null
1188+ inputTypeColorSupport . _cachedResult = colorInput . type === "color" && colorInput . value !== "" ;
11891189 }
11901190 return inputTypeColorSupport . _cachedResult ;
11911191 } ;
You can’t perform that action at this time.
0 commit comments