Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for carrat (0.46 sec)

  1. .cm/plugins/filters/nullToEmpty/index.js

    /**
     * @module nullToEmpty
     * @description Returns the specified value if non-null, otherwise an empty array.
     * @param {Object} input - The object to investigate
     * @returns Object - The specified value if non-null, otherwise an empty array
     * @example {{ readField('jvm', 'files') | nullToEmpty }}
     */
    function nullToEmpty(input) {
        let output;
        if (input) {
            output = input;
        } else {
            output = [];
        }
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:43:16 GMT 2024
    - 526 bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/form-validator/uk.js

    errorMessageKey:"badUKVatAnswer"}),a.formUtils.addValidator({name:"ukutr",validatorFunction:function(a){var b=[0,6,7,8,9,10,5,4,3,2],c=[2,1,9,8,7,6,5,4,3,2,1],d=0;if(/\d{10}/.test(a)&&10===a.length){for(var e=0;e<10;e++)d+=a[e]*b[e];if(parseInt(a.charAt(0))===c[d%11])return!0}return!1},errorMessage:"",errorMessageKey:"badUkUtr"}),a.formUtils.addValidator({name:"uknin",validatorFunction:function(a){return!!/^(?!BG)(?!GB)(?!NK)(?!KN)(?!TN)(?!NT)(?!ZZ)(?:[A-CEGHJ-PR-TW-Z][A-CEGHJ-NPR-TW-Z])(?:\s*\d...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  3. src/main/webapp/js/clipboard.min.js

    String");if(!d.fn(n))throw new TypeError("Third argument must be a Function");if(d.node(t))return s=e,f=n,(l=t).addEventListener(s,f),{destroy:function(){l.removeEventListener(s,f)}};if(d.nodeList(t))return a=t,c=e,u=n,Array.prototype.forEach.call(a,function(t){t.addEventListener(c,u)}),{destroy:function(){Array.prototype.forEach.call(a,function(t){t.removeEventListener(c,u)})}};if(d.string(t))return o=t,r=e,i=n,h(document.body,o,r,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection,...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat May 28 04:16:16 GMT 2022
    - 10.5K bytes
    - Viewed (2)
  4. docs/en/docs/js/custom.js

        loadVisibleTermynals();
    }
    
    function shuffle(array) {
        var currentIndex = array.length, temporaryValue, randomIndex;
        while (0 !== currentIndex) {
            randomIndex = Math.floor(Math.random() * currentIndex);
            currentIndex -= 1;
            temporaryValue = array[currentIndex];
            array[currentIndex] = array[randomIndex];
            array[randomIndex] = temporaryValue;
        }
        return array;
    }
    
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  5. misc/wasm/wasm_exec.js

    			const loadSlice = (addr) => {
    				const array = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				return new Uint8Array(this._inst.exports.mem.buffer, array, len);
    			}
    
    			const loadSliceOfValues = (addr) => {
    				const array = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				const a = new Array(len);
    				for (let i = 0; i < len; i++) {
    					a[i] = loadValue(array + i * 8);
    				}
    				return a;
    			}
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  6. .cm/plugins/filters/byCodeowner/ignore/index.js

    // A simple implementation of make-array
    function makeArray (subject) {
        return Array.isArray(subject)
            ? subject
            : [subject]
    }
    
    const EMPTY = ''
    const SPACE = ' '
    const ESCAPE = '\\'
    const REGEX_TEST_BLANK_LINE = /^\s+$/
    const REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/
    const REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/
    const REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/
    const REGEX_SPLITALL_CRLF = /\r?\n/g
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/main/webapp/js/jquery-3.6.3.min.js

    ents.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(E.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||E.isPlainObject(n)?n:{},i=!1,a[t]=E.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},E.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 87.8K bytes
    - Viewed (5)
  8. docs/en/docs/js/termynal.js

        /**
         * Converts line data objects into line elements.
         *
         * @param {Object[]} lineData - Dynamically loaded lines.
         * @param {Object} line - Line data object.
         * @returns {Element[]} - Array of line elements.
         */
        lineDataToElements(lineData) {
            return lineData.map(line => {
                let div = document.createElement('div');
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    .get(0).setSelectionRange(0,2)}},widgetKeyup:function(a){(65===a.which||77===a.which||80===a.which||46===a.which||8===a.which||a.which>=48&&a.which<=57||a.which>=96&&a.which<=105)&&this.updateFromWidgetInputs()}},a.fn.timepicker=function(b){var c=Array.apply(null,arguments);return c.shift(),this.each(function(){var e=a(this),f=e.data("timepicker"),g="object"==typeof b&&b;f||e.data("timepicker",f=new d(this,a.extend({},a.fn.timepicker.defaults,g,a(this).data()))),"string"==typeof b&&f[b].apply(f,...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 18.2K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/poland.js

    ,c=0,d=0;if(/\d{11}/.test(a)&&11===a.length){for(var e=0;e<10;e++)c+=a[e]*b[e];if(c%10!==0&&(d=10-c%10),parseInt(a.charAt(10))===d)return!0}return!1},errorMessage:"",errorMessageKey:"badPlPesel"}),a.formUtils.addValidator({name:"plnip",validatorFunction:function(a){var b=[6,5,7,2,3,4,5,6,7],c=0;if(/\d{10}/.test(a)&&10===a.length){for(var d=0;d<9;d++)c+=a[d]*b[d];if(parseInt(a.charAt(9))===c%11)return!0}return!1},errorMessage:"",errorMessageKey:"badPlNip"}),a.formUtils.addValidator({name:"plregon...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.4K bytes
    - Viewed (0)
Back to top