Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for hasProperty (0.43 sec)

  1. packages/taro/src/polyfill.js

          var d = {}
    
          if (hasProperty(desc, 'enumerable')) d.enumerable = !!desc.enumerable
          if (hasProperty(desc, 'configurable')) { d.configurable = !!desc.configurable }
          if (hasProperty(desc, 'value')) d.value = desc.value
          if (hasProperty(desc, 'writable')) d.writable = !!desc.writable
          if (hasProperty(desc, 'get')) {
            var g = desc.get
    
    JavaScript
    - Registered: 2022-08-08 22:59
    - Last Modified: 2019-06-17 01:56
    - 2.5K bytes
    - Viewed (0)
  2. scripts/upload.gradle

    }
    
    def getReleaseRepositoryUrl() {
        return hasProperty('LOCAL') ? localMavenRepo()
                : hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
                : 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
    }
    
    def getSnapshotRepositoryUrl() {
        return hasProperty('LOCAL') ? localMavenRepo()
                : hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
    Plain Text
    - Registered: 2022-08-10 02:28
    - Last Modified: 2022-07-19 16:07
    - 9.4K bytes
    - Viewed (0)
  3. src/android/test/interop/app/build.gradle

                    // is not cross-compiled to Android)
                    def protoc = project.hasProperty('protoc') ?
                            project.property('protoc') : '/usr/local/bin/protoc'
                    def grpc_cpp_plugin = project.hasProperty('grpc_cpp_plugin') ?
                            project.property('grpc_cpp_plugin') : '/usr/local/bin/grpc_cpp_plugin'
    
    Plain Text
    - Registered: 2022-05-17 20:15
    - Last Modified: 2021-11-06 02:04
    - 2.1K bytes
    - Viewed (0)
  4. vendor/jasmine-jquery.js

              camelCaseKey += part[0].toUpperCase() + part.substring(1)
            } else {
              camelCaseKey = part
            }
          }
          return hasProperty(this.actual.dataset[camelCaseKey], expectedValue)
        } else {
          return hasProperty(this.actual.data(key), expectedValue)
        }
      },
    
      toMatchSelector: function(selector) {
        if (this.actual instanceof HTMLElement) {
    JavaScript
    - Registered: 2022-06-27 05:20
    - Last Modified: 2015-09-19 02:48
    - 5.5K bytes
    - Viewed (0)
  5. packages/core/admin/server/services/permission/sections-builder/utils.js

    const isOfKind = kind => matchesProperty('kind', kind);
    
    const resolveContentType = uid => strapi.contentTypes[uid];
    
    const isNotInSubjects = subjects => uid => !subjects.find(subject => subject.uid === uid);
    
    const hasProperty = curry((property, subject) => {
      return !!subject.properties.find(prop => prop.value === property);
    });
    
    const getValidOptions = pick(['applyToProperties']);
    
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2021-08-04 13:05
    - 695 bytes
    - Viewed (0)
  6. examples/android/helloworld/app/build.gradle

                    // is not cross-compiled to Android)
                    def protoc = project.hasProperty('protoc') ?
                            project.property('protoc') : '/usr/local/bin/protoc'
                    def grpc_cpp_plugin = project.hasProperty('grpc_cpp_plugin') ?
                            project.property('grpc_cpp_plugin') : '/usr/local/bin/grpc_cpp_plugin'
    
    Plain Text
    - Registered: 2022-08-09 20:15
    - Last Modified: 2021-11-06 02:04
    - 2.1K bytes
    - Viewed (0)
  7. dev/integration_tests/abstract_method_smoke_test/android/build.gradle

    subprojects {
        project.evaluationDependsOn(':app')
        dependencyLocking {
            ignoredDependencies.add('io.flutter:*')
            lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
            if (!project.hasProperty('local-engine-repo')) {
              lockAllConfigurations()
            }
        }
    }
    
    task clean(type: Delete) {
        delete rootProject.buildDir
    Plain Text
    - Registered: 2022-08-05 06:24
    - Last Modified: 2021-10-25 20:13
    - 1.2K bytes
    - Viewed (0)
  8. dev/benchmarks/platform_views_layout/android/build.gradle

    subprojects {
        project.evaluationDependsOn(':app')
        dependencyLocking {
            ignoredDependencies.add('io.flutter:*')
            lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile")
            if (!project.hasProperty('local-engine-repo')) {
              lockAllConfigurations()
            }
        }
    }
    
    task clean(type: Delete) {
        delete rootProject.buildDir
    Plain Text
    - Registered: 2022-08-12 06:24
    - Last Modified: 2022-07-29 02:38
    - 1.2K bytes
    - Viewed (0)
  9. packages/core/admin/server/services/permission/sections-builder/handlers.js

    'use strict';
    
    const { isVisibleAttribute } = require('@strapi/utils').contentTypes;
    
    const {
      toSubjectTemplate,
      getValidOptions,
      hasProperty,
      isNotInSubjects,
      resolveContentType,
      isOfKind,
    } = require('./utils');
    
    /**
     * @typedef ContentTypesSection
     * @property {Array<Action>} actions
     * @property {Array<Object>} subjects
     */
    
    /**
     * @typedef {Array<Action>} ActionArraySection
     */
    
    /**
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2021-08-02 15:54
    - 3.8K bytes
    - Viewed (0)
  10. packages/core/admin/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/Permissions/utils/createDefaultCTFormFromLayout.js

              current,
              propertyValues,
              `${prefix}${current.value}.`
            ),
          };
        }
    
        const hasProperty = propertyValues.indexOf(`${prefix}${current.value}`) !== -1;
    
        acc[current.value] = hasProperty;
    
        return acc;
      }, {});
    };
    
    /**
     * Creates the default form for all the properties found in a content type's layout
    JavaScript
    - Registered: 2022-08-09 15:31
    - Last Modified: 2021-09-06 10:46
    - 5.4K bytes
    - Viewed (0)
Back to top