UI Cleanup - Updated Instrumentation, jQuery and Mixins subtrees.

This commit is contained in:
Taloth Saldono
2015-02-13 22:06:20 +01:00
parent 44928c8f64
commit 70bfad4e6a
24 changed files with 716 additions and 490 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ var Messenger = require('../Shared/Messenger');
$.fn.copyToClipboard = function(input) {
ZeroClipboard.config({
swfPath: StatusModel.get('urlBase') + '/Content/zero.clipboard.swf'
swfPath : StatusModel.get('urlBase') + '/Content/zero.clipboard.swf'
});
var client = new ZeroClipboard(this);
@@ -16,7 +16,7 @@ $.fn.copyToClipboard = function(input) {
e.clipboardData.setData("text/plain", input.val());
});
client.on('aftercopy', function() {
Messenger.show({message : 'Copied text to clipboard'});
Messenger.show({ message : 'Copied text to clipboard' });
});
});
};