Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mark_raw.js « vue3compat « utils « lib « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: daafbad8ba1956a1b94b3f15bc57485a63717a75 (plain)
1
2
3
4
5
6
7
8
9
// this will  be replaced by markRaw from vue.js v3
export function markRaw(obj) {
  Object.defineProperty(obj, '__v_skip', {
    value: true,
    configurable: true,
  });

  return obj;
}