app/assets/javascripts/plugins/fonts/font_family.min.js in wysiwyg-rails-1.1.6 vs app/assets/javascripts/plugins/fonts/font_family.min.js in wysiwyg-rails-1.1.7

- old
+ new

@@ -1,5 +1,5 @@ /*! - * froala_editor v1.1.6 (http://editor.froala.com) + * froala_editor v1.1.7 (http://editor.froala.com) * Copyright 2014-2014 Froala */ $.Editable.prototype.execCommand=$.extend($.Editable.prototype.execCommand,{fontFamily:function(a,b){this.fontExec("font-family",a,b)}}),$.Editable.commands=$.extend($.Editable.commands,{fontFamily:{title:"Font Family",icon:"fa fa-font"}}),$.Editable.prototype.command_dispatcher=$.extend($.Editable.prototype.command_dispatcher,{fontFamily:function(a){var b=this.buildDropdownFontFamily(),c=this.buildDropdownButton(a,b,"fr-family");this.$bttn_wrapper.append(c)}}),$.Editable.prototype.buildDropdownFontFamily=function(){for(var a='<ul class="fr-dropdown-menu">',b=0;b<this.options.fontList.length;b++){var c=this.options.fontList[b],d='<li data-cmd="fontFamily" data-val="'+c+'">';d+='<a href="#" data-text="true" title="'+c+'" style="font-family: '+c+';">'+c+"</a></li>",a+=d}return a+="</ul>"}; \ No newline at end of file