UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

12 lines (9 loc) 249 B
import { i as isObject } from './super-Cm_a_cLQ.js'; const NAMES = new WeakMap(); function setName(obj, name) { if (isObject(obj)) NAMES.set(obj, name); } function getName(obj) { return NAMES.get(obj); } export { getName as g, setName as s };