Permalink
Browse files

removing Browser/Browser.Plugins.Silverlight.js as this has been incl…

…uded to Xappa.
  • Loading branch information...
1 parent f3a2242 commit 7f23b2be0a5c5f9cadc2cbcf51b50f8d7eca03a1 @samuelbirch samuelbirch committed Jun 28, 2010
Showing with 0 additions and 40 deletions.
  1. +0 −40 Source/Browser/Browser.Plugins.Silverlight.js
@@ -1,40 +0,0 @@
-/*
----
-
-name: Browser.Plugins.Silverlight
-
-description: Plugin version detection for Silverlight.
-
-license: MIT-style license.
-
-credits:
- - Samuel Birch
-
-requires:
-
-provides: Browser.Plugins.Silverlight
-
-...
-*/
-
-
-Browser.Plugins.Silverlight = (function(){
-
- var version;
-
- if(Browser.Engine.trident){
- var agc = new ActiveXObject('AgControl.AgControl');
- if(agc.IsVersionSupported('1.0')){version = 1;}
- if(agc.IsVersionSupported('2.0')){version = 2;}
- if(agc.IsVersionSupported('3.0')){version = 3;}
- if(agc.IsVersionSupported('4.0')){version = 4;}
- }else{
- version = navigator.plugins['Silverlight Plug-In'].description.substring(0,1);
- }
-
- if(!version){
- version = 0;
- }
-
- return {version: Number(version) || 0};
-})();

0 comments on commit 7f23b2b

Please sign in to comment.