Produced by Araxis Merge on 2/1/2017 2:57:59 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM Portal\trunk\BTSSSPortal\js | jquery.rateit.min.js | Tue Dec 20 19:50:42 2016 UTC |
| 2 | Wed Feb 1 19:57:59 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 9 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /*RateIt | |||||
| 2 | Copyright (c) 2013 G ideon Jung e | |||||
| 3 | ||||||
| 4 | Permission is hereby granted, free of ch arge, to a ny person obtaining a copy of this softw are and as sociated d ocumentati on files ( the "Softw are"), to deal in th e Software without r estriction , includin g without limitation the right s to use, copy, modi fy, merge, publish, distribute , sublicen se, and/or sell copi es of the Software, and to per mit person s to whom the Softwa re is furn ished to d o so, subj ect to the following condition s: | |||||
| 5 | ||||||
| 6 | The above copyright notice and this perm ission not ice shall be include d in all c opies or s ubstantial portions of the Sof tware. | |||||
| 7 | ||||||
| 8 | THE SOFTWA RE IS PROV IDED "AS I S", WITHOU T WARRANTY OF ANY KI ND, EXPRES S OR IMPLI ED, INCLUD ING BUT NO T LIMITED TO THE WAR RANTIES OF MERCHANTA BILITY, FI TNESS FOR A PARTICUL AR PURPOSE AND NONIN FRINGEMENT . IN NO EV ENT SHALL THE AUTHOR S OR COPYR IGHT HOLDE RS BE LIAB LE FOR ANY CLAIM, DA MAGES OR O THER LIABI LITY, WHET HER IN AN ACTION OF CONTRACT, TORT OR OT HERWISE, A RISING FRO M, OUT OF OR IN CONN ECTION WIT H THE SOFT WARE OR TH E USE OR O THER DEALI NGS IN THE SOFTWARE. | |||||
| 9 | */(functio n (n) { fu nction t(n ) { var u = n.origin alEvent.ch angedTouch es, t = u[ 0], i = "" , r; switc h (n.type) { case "t ouchmove": i = "mous emove"; br eak; case "touchend" : i = "mou seup"; bre ak; defaul t: return } r = docu ment.creat eEvent("Mo useEvent") , r.initMo useEvent(i , !0, !0, window, 1, t.screenX , t.screen Y, t.clien tX, t.clie ntY, !1, ! 1, !1, !1, 0, null), t.target. dispatchEv ent(r), n. preventDef ault() } n .fn.rateit = functio n (i, r) { var u = { }, e = "in it", o = f unction (n ) { return n.charAt( 0).toUpper Case() + n .substr(1) }, f; if (this.leng th == 0) r eturn this ; if (f = n.type(i), f == "obj ect" || i === undefi ned || i = = null) u = n.extend ({}, n.fn. rateit.def aults, i); else { if (f == "st ring" && r === undef ined) retu rn this.da ta("rateit " + o(i)); f == "str ing" && (e = "setval ue") } ret urn this.e ach(functi on () { va r h = n(th is), f = f unction (n ) { return arguments [0] = "rat eit" + o(n ), h.data. apply(h, a rguments) }, a, s, c , v, y, l, p; if (h. hasClass(" rateit") | | h.addCla ss("rateit "), a = h. css("direc tion") != "rtl", e = = "setvalu e") { if ( !f("init") ) throw "C an't set v alue befor e init"; i != "reado nly" || f( "readonly" ) || (h.fi nd(".ratei t-range"). unbind(), f("wired", !1)), i = = "value" && r == nu ll && (r = f("min")) , f("backi ngfld") && (s = n(f( "backingfl d")), i == "value" & & s.val(r) , i == "mi n" && s[0] .min && (s [0].min = r), i == " max" && s[ 0].max && (s[0].max = r), i == "step" && s[0].step && (s[0]. step = r)) , f(i, r) } f("init" ) || (f("m in", f("mi n") || u.m in), f("ma x", f("max ") || u.ma x), f("ste p", f("ste p") || u.s tep), f("r eadonly", f("readonl y") !== un defined ? f("readonl y") : u.re adonly), f ("resetabl e", f("res etable") ! == undefin ed ? f("re setable") : u.reseta ble), f("b ackingfld" , f("backi ngfld") || u.backing fld), f("s tarwidth", f("starwi dth") || u .starwidth ), f("star height", f ("starheig ht") || u. starheight ), f("valu e", f("val ue") || u. value || u .min), f(" ispreset", f("ispres et") !== u ndefined ? f("ispres et") : u.i spreset), f("backing fld") && ( s = n(f("b ackingfld" )), f("val ue", s.hid e().val()) , (s.attr( "disabled" ) || s.att r("readonl y")) && f( "readonly" , !0), s[0 ].nodeName == "INPUT " && (s[0] .type == " range" || s[0].type == "text") && (f("mi n", parseI nt(s.attr( "min")) || f("min")) , f("max", parseInt( s.attr("ma x")) || f( "max")), f ("step", p arseInt(s. attr("step ")) || f(" step"))), s[0].nodeN ame == "SE LECT" && s [0].option s.length > 1 && (f(" min", Numb er(s[0].op tions[0].v alue)), f( "max", Num ber(s[0].o ptions[s[0 ].length - 1].value) ), f("step ", Number( s[0].optio ns[1].valu e) - Numbe r(s[0].opt ions[0].va lue)))), h .append('< div class= "rateit-re set"><\/di v><div cla ss="rateit -range"><d iv class=" rateit-sel ected" sty le="height :' + f("st arheight") + 'px"><\ /div><div class="rat eit-hover" style="he ight:' + f ("starheig ht") + 'px "><\/div>< \/div>'), a || (h.fi nd(".ratei t-reset"). css("float ", "right" ), h.find( ".rateit-s elected"). addClass(" rateit-sel ected-rtl" ), h.find( ".rateit-h over").add Class("rat eit-hover- rtl")), f( "init", !0 )), c = h. find(".rat eit-range" ), c.width (f("starwi dth") * (f ("max") - f("min"))) .height(f( "starheigh t")), v = "rateit-pr eset" + (a ? "" : "- rtl"), f(" ispreset") ? h.find( ".rateit-s elected"). addClass(v ) : h.find (".rateit- selected") .removeCla ss(v), f(" value") != null && ( y = (f("va lue") - f( "min")) * f("starwid th"), h.fi nd(".ratei t-selected ").width(y )), l = h. find(".rat eit-reset" ), l.data( "wired") ! == !0 && l .click(fun ction () { f("value" , f("min") ), c.find( ".rateit-h over").hid e().width( 0), c.find (".rateit- selected") .width(0). show(), f( "backingfl d") && n(f ("backingf ld")).val( f("min")), h.trigger ("reset") }).data("w ired", !0) , p = func tion (t, i ) { var u = i.change dTouches ? i.changed Touches[0] .pageX : i .pageX, r = u - n(t) .offset(). left; retu rn a || (r = c.width () - r), r > c.width () && (r = c.width() ), r < 0 & & (r = 0), y = Math. ceil(r / f ("starwidt h") * (1 / f("step") )) }, f("r eadonly") ? l.hide() : (f("res etable") | | l.hide() , f("wired ") || (c.b ind("touch move touch end", t), c.mousemov e(function (n) { var i = p(thi s, n), t = i * f("st arwidth") * f("step" ), r = c.f ind(".rate it-hover") , u; r.dat a("width") != t && ( c.find(".r ateit-sele cted").hid e(), r.wid th(t).show ().data("w idth", t), u = [i * f("step") + f("min") ], h.trigg er("hover" , u).trigg er("over", u)) }), c .mouseleav e(function () { c.fi nd(".ratei t-hover"). hide().wid th(0).data ("width", ""), h.tri gger("hove r", [null] ).trigger( "over", [n ull]), c.f ind(".rate it-selecte d").show() }), c.mou seup(funct ion (t) { var r = p( this, t), i = r * f( "step") + f("min"); f("value", i), f("ba ckingfld") && n(f("b ackingfld" )).val(i), f("ispres et") && (c .find(".ra teit-selec ted").remo veClass(v) , f("ispre set", !1)) , c.find(" .rateit-ho ver").hide (), c.find (".rateit- selected") .width(r * f("starwi dth") * f( "step")).s how(), h.t rigger("ho ver", [nul l]).trigge r("over", [null]).tr igger("rat ed", [i]) }), f("wir ed", !0)), f("reseta ble") && l .show()) } ) }, n.fn. rateit.def aults = { min: 0, ma x: 5, step : .5, star width: 16, starheigh t: 16, rea donly: !1, resetable : !0, ispr eset: !1 } , n(functi on () { n( "div.ratei t").rateit () }) })(j Query) |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.