Sha256: ff2522f795548fd1cdaeabf677629590fca152196fa78dfe84357abf48dcf81a
Contents?: true
Size: 215 Bytes
Versions: 2
Compression:
Stored size: 215 Bytes
Contents
import { Cache } from 'ember-utils'; const firstDotIndexCache = new Cache(1000, key => key.indexOf('.')); export function isPath(path) { return typeof path === 'string' && firstDotIndexCache.get(path) !== -1; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
discourse-ember-source-3.5.1.1 | dist/es/ember-metal/lib/path_cache.js |
discourse-ember-source-3.5.1.0 | dist/dist/es/ember-metal/lib/path_cache.js |