(function(){tinymce.PluginManager.requireLangPack('tas');tinymce.create('tinymce.plugins.TasPlugin',{init:function(ed,url){ed.addCommand('mceExample',function(){ed.windowManager.open({file:url+'/dialog.php',width:320+ed.getLang('example.delta_width',0),height:120+ed.getLang('example.delta_height',0),inline:1},{plugin_url:url,some_custom_arg:'custom arg'})});ed.addButton('tas',{title:'tas.desc',cmd:'mceExample',image:url+'/images/twitter.png'});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('example',n.nodeName=='IMG')})},createControl:function(n,cm){return null},getInfo:function(){return{longname:'Twitter API Shortcodes',author:'Ryan J. Geyer',authorurl:'http://www.nslms.com',infourl:'http://www.nslms.com',version:"0.1"}}});tinymce.PluginManager.add('tas',tinymce.plugins.TasPlugin)})();