Sha256: 963ce9fc619827831b3f04fa3aef53a67039bda06beb3c45cf80e782627b78b2

Contents?: true

Size: 468 Bytes

Versions: 8

Compression:

Stored size: 468 Bytes

Contents

export function set (config) {
    var prop, i;
    for (i in config) {
        prop = config[i];
        if (typeof prop === 'function') {
            this[i] = prop;
        } else {
            this['_' + i] = prop;
        }
    }
    // Lenient ordinal parsing accepts just a number in addition to
    // number + (possibly) stuff coming from _ordinalParseLenient.
    this._ordinalParseLenient = new RegExp(this._ordinalParse.source + '|' + /\d{1,2}/.source);
}

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
date_picker-0.0.6 test/dummy/vendor/assets/components/moment/src/lib/locale/set.js
date_picker-0.0.5 test/dummy/vendor/assets/components/moment/src/lib/locale/set.js
date_picker-0.0.4 test/dummy/vendor/assets/components/moment/src/lib/locale/set.js
date_picker-0.0.3 test/dummy/vendor/assets/components/moment/src/lib/locale/set.js
date_picker-0.0.2 test/dummy/vendor/assets/components/moment/src/lib/locale/set.js
date_picker-0.0.1 test/dummy/vendor/assets/components/moment/src/lib/locale/set.js
puppet-herald-0.8.1 lib/puppet-herald/public/bower_components/moment/src/lib/locale/set.js
puppet-herald-0.8.0 lib/puppet-herald/public/bower_components/moment/src/lib/locale/set.js