diff options
| author | Misko Hevery | 2010-07-15 13:13:21 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-07-15 13:13:21 -0700 |
| commit | 9abd10e7b8a34b9dcd1a6af5ff37f57bd27cf920 (patch) | |
| tree | 1dac2305341b58cb595ebc4b71ea5debf121e37b /src/Angular.js | |
| parent | 09e2295975b5bb8dfc067303fee86a9f2ebb433d (diff) | |
| download | angular.js-9abd10e7b8a34b9dcd1a6af5ff37f57bd27cf920.tar.bz2 | |
proper handlig of $element in filters
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Angular.js b/src/Angular.js index 2b26c88d..07e9096b 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -78,6 +78,10 @@ function extend(dst) { return dst; } +function inherit(parent, extra) { + return extend(new (extend(function(){}, {prototype:parent}))(), extra); +}; + function noop() {} function identity($) {return $;} function extensionMap(angular, name) { |
