Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for if (0.17 sec)

  1. docs/en/docs/js/termynal.js

            let attrs = '';
            for (let prop in line) {
                // Custom add class
                if (prop === 'class') {
                    attrs += ` class=${line[prop]} `
                    continue
                }
                if (prop === 'type') {
                    attrs += `${this.pfx}="${line[prop]}" `
                } else if (prop !== 'value') {
                    attrs += `${this.pfx}-${prop}="${line[prop]}" `
                }
    JavaScript
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    function(){this.highlightedUnit=null,this.updateFromElementVal()},clear:function(){this.hour="",this.minute="",this.second="",this.meridian="",this.$element.val("")},decrementHour:function(){if(this.showMeridian)if(1===this.hour)this.hour=12;else{if(12===this.hour)return this.hour--,this.toggleMeridian();if(0===this.hour)return this.hour=11,this.toggleMeridian();this.hour--}else this.hour<=0?this.hour=this.maxHours-1:this.hour--},decrementMinute:function(a){var b;b=a?this.minute-a:this.minute-th...
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 18.2K bytes
    - Viewed (0)
  3. .cm/plugins/filters/byPlatform/index.js

     * @example {{ owners | byPlatform }}
     */
    function byPlatform(files) {
        const result = new Map();
        files.forEach(file => {
            const platform = getPlatform(file);
            if (!result.has(platform)) {
                result.set(platform, []);
            }
            result.get(platform).push(file);
        });
    
        console.log("byPlatform: ");
        [...result.keys()].forEach(platform => {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. .cm/plugins/filters/readField/index.js

     */
    
    function readField(objects, objectName, fieldName) {
        let group = Object.values(objects).find(s => s.name === objectName);
        if (group) {
            const result = group[fieldName];
            if (result === undefined) {
                throw "readField: field '" + fieldName + "' not found on object named '" + objectName + "' with fields '" + Object.keys(group) + "'";
            } else {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. src/main/webapp/js/login.js

      $(".form-group .has-error")
        .first()
        .next("input,select,textarea")
        .focus();
    
      $("section.content input").keypress(function(e) {
        var $submitButton;
        if (e.which === 13) {
          $submitButton = $("input#submit, button#submit");
          if ($submitButton.length > 0) {
            $submitButton[0].submit();
          }
          // ignore enter key down
          return false;
        }
      });
    
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Wed Sep 12 06:47:49 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/form-validator/sanitize.js

    )||"right"===c&&a.substring(a.length-d.length)===d?a:("left"===c?d:"")+a+("right"===c?d:"")},insertRight:function(a,b){return this.insert(a,b,"right")},insertLeft:function(a,b){return this.insert(a,b,"left")},numberFormat:function(a,c){if(0===a.length)return a;if(!("numeral"in b))throw new ReferenceError('Using sanitation function "numberFormat" requires that you include numeral.js (http://numeraljs.com/)');return a=numeral().unformat(a),a=numeral(a).format(c.attr("data-sanitize-number-format"))...
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  7. .cm/plugins/filters/byCodeowner/index.js

    function resolveCodeowners(mapping, file) {
        let match = mapping
            .slice()
            .reverse()
            .find(x =>
                ignore()
                    .add(x.path)
                    .ignores(file)
            );
        if (!match) {
            console.log("No codeowner found for: " + file);
            return ['No owner'];
        }
        return match.owners;
    }
    
    module.exports = {
        async: true,
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. .cm/plugins/filters/isEnabledAutomation/index.js

                const checks = extractCheckNames(comment.content);
                if (checks.includes(automationName)) {
                    return true;
                }
            });
        }
    
        // If not found to be enabled by the above checks, check if enabled by user
        if (!result) {
            if (pr.author_is_org_member) {
                result = automationActivations.includes(pr.author);
            } else {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    "data-validation-if-checked" which is deprecated. Use "data-validation-depends-on" provided by module "logic"'),c.on("beforeValidation",function(){var c=a(this),d=c.valAttr("if-checked"),e=a('input[name="'+d+'"]',b),f=e.is(":checked"),g=(a.formUtils.getValue(e)||"").toString(),h=c.valAttr("if-checked-value");(!f||h&&h!==g)&&c.valAttr("skipped",!0)})}function f(b){var c={se:"sv",cz:"cs",dk:"da"};if(b.lang in c){var d=c[b.lang];a.formUtils.warn('Deprecated use of lang code "'+b.lang+'" use "'+d+'" instead'),...
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 32.8K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/file.js

    ion(a){var b=a.replace("max","").replace("min","").split(":");return b[0]/b[1]},f=b.split("-"),g=function(a,b,c){return a>=b&&a<=c};if(1===f.length){if(d!==e(f[0]))return c.imageRatioNotAccepted}else if(2===f.length&&!g(d,e(f[0]),e(f[1])))return c.imageRatioNotAccepted;return!1},a.formUtils.addAsyncValidator({name:"dimension",validatorFunction:function(b,d,e,g,h){if(c){var i=e.get(0).files||[],j=this;e.attr("data-validation").indexOf("mime")===-1?(alert("You should validate file type being jpg, gif...
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 4.6K bytes
    - Viewed (0)
Back to top