This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fx.step.backgroundColor = function(fx) { | |
if (!fx._init) { | |
// parse RGBA-Color | |
var col = /\((\d+,\s*\d+,\s*\d+),\s*([\d\.]+)\s*\)/.exec($.css(fx.elem, 'backgroundColor')); | |
// set correct start-value | |
fx.start = parseFloat(col[2]); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$code = "static function parseJSON(json) {return eval('(' +json + ')');}" | |
$JSONUtil = (Add-Type -Language JScript -MemberDefinition $code -Name "JSONUtil" -PassThru)[1] | |
$obj = $JSONUtil::parseJSON($jsonString) |