개발자

JS.SFC :: CanvasRendering

쿠카곰돌이 2021. 7. 4. 09:35
반응형

(function(d) {
    if (!d.Sfdc || !d.Sfdc.canvas || !d.Sfdc.canvas.module) {
        var s = {};
        if (d.Sfdc && d.Sfdc.canvas)
            for (var q in d.Sfdc.canvas) d.Sfdc.canvas.hasOwnProperty(q) && (s[q] = d.Sfdc.canvas[q]);
        var t = Object.prototype,
            m = Array.prototype,
            n = d.document,

            f = {
                hasOwn: function(a, b) {
                    return t.hasOwnProperty.call(a, b)
                },
                isUndefined: function(a) {
                    return void 0 === a
                },
                isNil: function(a) {
                    return f.isUndefined(a) || null === a || "" === a
                },
                isNumber: function(a) {
                    return !!(0 === a || a && a.toExponential && a.toFixed)
                },
                isFunction: function(a) {
                    return !(!a ||
                        !a.constructor || !a.call || !a.apply)
                },
                isArray: Array.isArray || function(a) {
                    return "[object Array]" === t.toString.call(a)
                },
                isArguments: function(a) {
                    return !(!a || !f.hasOwn(a, "callee"))
                },
                isObject: function(a) {
                    return null !== a && "object" === typeof a
                },
                isString: function(a) {
                    return null !== a && "string" == typeof a
                },
                isBoolean: function(a) {
                    return "[object Boolean]" === Object.prototype.toString.call(a)
                },
                appearsJson: function(a) {
                    return /^\{.*\}$/.test(a)
                },
                nop: function() {},
                invoker: function(a) {
                    f.isFunction(a) && a()
                },
                identity: function(a) {
                    return a
                },

 

 

CanvasRendering.js
0.08MB

반응형

'개발자' 카테고리의 다른 글

JS.SFC :: FinalLorg.ajax4  (0) 2021.07.04
JS.SFC :: resources  (0) 2021.07.04
JS.SFC :: EclairNG  (0) 2021.07.04
JS.SFC :: app  (0) 2021.07.04
JS.SFC :: appcore  (0) 2021.07.04