Built motion from commit 99feb03.|0.0.140
[motion.git] / public / bower_components / angular-clipboard / angular-clipboard.js
index cd2694d..3b45881 100644 (file)
@@ -46,8 +46,7 @@ return angular.module('angular-clipboard', [])
         }
 
         return {
-            copyText: copyText,
-            supported: 'queryCommandSupported' in document && document.queryCommandSupported('copy')
+            copyText: copyText
         };
     }])
     .directive('clipboard', ['clipboard', function (clipboard) {
@@ -56,12 +55,9 @@ return angular.module('angular-clipboard', [])
             scope: {
                 onCopied: '&',
                 onError: '&',
-                text: '=',
-                supported: '=?'
+                text: '='
             },
             link: function (scope, element) {
-                scope.supported = clipboard.supported;
-
                 element.on('click', function (event) {
                     try {
                         clipboard.copyText(scope.text);
@@ -78,4 +74,4 @@ return angular.module('angular-clipboard', [])
         };
     }]);
 
-}));
+}));
\ No newline at end of file