Skip to content

Commit

Permalink
minified versions
Browse files Browse the repository at this point in the history
  • Loading branch information
etcook committed Aug 19, 2014
1 parent 60db8d3 commit dc3f895
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/assets/js/tinymce/aiview/plugin.js
Expand Up @@ -65,6 +65,7 @@ tinymce.PluginManager.add('aiview', function( editor ) {
function parse( sc ) {
var re_full = /\[aesop_([a-zA-Z]+)\s([^\[\]]*)]([^\[\]]+)\[\/aesop_[a-zA-Z]+]/g;
var re_short = /\[aesop_([a-zA-Z]+)\s([^\[\]]*)]/g;
var re_clean = /<br data-mce-bogus="1">[\s]*/g;
var re_parse = /([^\s]+)\s?/g;

var parse = re_full.exec(sc);
Expand All @@ -78,7 +79,6 @@ tinymce.PluginManager.add('aiview', function( editor ) {
}
}

console.log(parse);
// split up based on a space
var attrs = parse[2].split(' ');

Expand All @@ -97,7 +97,7 @@ tinymce.PluginManager.add('aiview', function( editor ) {
});

if (typeof parse[3] != "undefined") {
ai_map['content'] = parse[3];
ai_map['content'] = parse[3].replace(re_clean, '');
}

return ai_map;
Expand Down
1 change: 1 addition & 0 deletions admin/assets/js/tinymce/aiview/plugin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc3f895

Please sign in to comment.