Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: add note about what define-property is for.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemr committed Apr 12, 2016
1 parent ea4c480 commit 001b5a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/browser/define-property.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {zoneSymbol} from "../common/utils";
// TODO(julie): does this belong in common?
// might need similar for object.freeze
// i regret nothing
/*
* This is necessary for Chrome and Chrome mobile, to enable
* things like redefining `createdCallback` on an element.
*/

const _defineProperty = Object.defineProperty;
const _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
Expand Down

0 comments on commit 001b5a9

Please sign in to comment.