diff options
| author | Matias Niemelä | 2013-11-02 13:25:38 -0400 |
|---|---|---|
| committer | Matias Niemelä | 2013-11-05 21:43:31 -0500 |
| commit | 974b6d4a5b402c9911aef8adf2f3d30aae1ba8ed (patch) | |
| tree | 753d88070ab33c9f0a603ad1fc76bba50ed9f5ad /src/ng/sniffer.js | |
| parent | 952fea69fbfbd7a72e335de9bc2cb96699055476 (diff) | |
| download | angular.js-974b6d4a5b402c9911aef8adf2f3d30aae1ba8ed.tar.bz2 | |
chore($sniffer): make msie variable public
The msie variable is a global variable used within the ng core which contains the
version number for the current Internet Explorer browser that is rendering the
application. Other modules outside of the ng core could make use of this variable
instead of having to rollout duplicate detection code. This code makes it easy to
reuse this simple property within the $sniffer service.
Diffstat (limited to 'src/ng/sniffer.js')
| -rw-r--r-- | src/ng/sniffer.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ng/sniffer.js b/src/ng/sniffer.js index 8dcfcd7d..9a1438d3 100644 --- a/src/ng/sniffer.js +++ b/src/ng/sniffer.js @@ -83,7 +83,8 @@ function $SnifferProvider() { csp: csp(), vendorPrefix: vendorPrefix, transitions : transitions, - animations : animations + animations : animations, + msie : msie }; }]; } |
