diff --git a/README.txt b/README.txt index 5463541b..5a1440cf 100755 --- a/README.txt +++ b/README.txt @@ -6,7 +6,7 @@ Donate link: http://aesopstoryengine.com/donate Tags: aesop, story, business, education, parallax, interactive, shortcode, gallery, grid gallery, thumbnail gallery, Requires at least: 3.8 Tested up to: 5.0.3 -Stable tag: 2.0.9 +Stable tag: 2.0.10 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -185,8 +185,11 @@ Full documentation can be found here: [http://aesopstoryengine.com/developers](h * Initial Release == Changelog == += 2.0.10 = +* FIX fix for a bug in the visual editing mode under the Classical Editor. + = 2.0.9 = -* NEW New file type options for the Document component +* NEW New file type options for the Document component. Supports MS documents now. * NEW Added buttons to remove images to a few Gutenberg blocks = 2.0.8.5 = diff --git a/admin/assets/js/tinymce/aiview/plugin.js b/admin/assets/js/tinymce/aiview/plugin.js index 188be96b..33f5b3a2 100644 --- a/admin/assets/js/tinymce/aiview/plugin.js +++ b/admin/assets/js/tinymce/aiview/plugin.js @@ -96,7 +96,7 @@ // restore the Aesop shortcode from the div placeholder function restoreAesopShortcodes(content) { - return content.replace((/]+?class="[^"]+?aesop-component-long.*?aesop-sc="([^"]+)"[\s\S]*?aesop-component-content[^>]*?>(.*?)<\/div>[\s]*?<\/div>|
<\/div>/g), function (match) { + return content.replace((/]+?class="[^"]+?aesop-component-long.*?aesop-sc="([^"]+)"[\s\S]*?aesop-component-content[^>]*?>(.*?)<\/div>[\s]*?<\/div>|
[\s]*<\/div>/g), function (match) { return shortcode(match); }); } @@ -104,8 +104,8 @@ // return the shortcode equivalent for any matches and update the content with the new version function shortcode(match) { var re_full = /]+?class="[^"]+?aesop-component.*?aesop-sc="([^"]+)"[\s\S]*?aesop-component-content[^>]*?>(.*?)<\/div>[\s]*?<\/div>/g; - var re_short = /
<\/div>/g; - var re_clean = /]+?>]+>\s*<\/div><\/div>/g; + var re_short = /
[\s]*<\/div>/g; + var re_clean = /]+?>]+>\s*<\/div>[\s]*<\/div>/g; match = match.replace(re_clean, ''); //var re_clean = /

<\/p>\s*/g; diff --git a/admin/assets/js/tinymce/aiview/plugin.min.js b/admin/assets/js/tinymce/aiview/plugin.min.js index 98901f9d..74181c01 100644 --- a/admin/assets/js/tinymce/aiview/plugin.min.js +++ b/admin/assets/js/tinymce/aiview/plugin.min.js @@ -1,2 +1,2 @@ -!function(a){tinymce.PluginManager.add("aiview",function(b){function c(a){return a.replace(/(\[aesop_([a-zA-Z_]+)\s([^\[\]]*)]([^\[\]]*)\[\/aesop_[a-zA-Z_]+]|\[aesop_([a-zA-Z_]+)\s?([^\[\]]*)])/g,function(a){return e("aesop-component",a)})}function d(a,b){var c;if(void 0!==b[a+"_internal_note"]){var d=b[a+"_internal_note"].replace(/ /g,"");""!==d&&(c=b[a+"_internal_note"])}if(void 0===c)switch(a){case"parallax":case"video":case"document":case"image":c=b.caption;break;case"gallery":c="id:"+b.id;break;case"character":c=b.name;break;case"timeline_stop":case"chapter":case"audio":case"collection":c=b.title;break;case"quote":c=b.quote;break;default:var e=["title","name","headline"];for(var f in e)if(void 0!==b[e[f]]){var d=b[e[f]].replace(/ /g,"");if(""!==d){c=b[e[f]];break}}}return void 0===c?"":c}function e(a,b){var c=/\[aesop_([a-zA-Z_]+)\s([^\[\]]*)]([^\[\]]+)\[\/aesop_[a-zA-Z_]+]/g,e=/\[aesop_([a-zA-Z_]+)\s?([^\[\]]*)]/g,f=/(<\/p>[\s]*

<\/p>\s

)[\s]*$/,g=/(<\/p>[\s]*

)[\s]*$/,h=c.exec(b);if(h){var j=i(h),k=d(h[1],j);h[3]=h[3].replace(f,""),h[3]=h[3].replace(g,"");var l='

 
 
 
 
'+h[1].replace(/_/g," ")+"
"+k+'

'+h[3]+"

"}else{h=e.exec(b);var j=i(h),k=d(h[1],j),l='
 
 
 
 
'+h[1].replace(/_/g," ")+"
"+k+'
WcMgcq
'}return l}function f(a){return a.replace(/]+?class="[^"]+?aesop-component-long.*?aesop-sc="([^"]+)"[\s\S]*?aesop-component-content[^>]*?>(.*?)<\/div>[\s]*?<\/div>|
<\/div>/g,function(a){return g(a)})}function g(a){var b=/]+?class="[^"]+?aesop-component.*?aesop-sc="([^"]+)"[\s\S]*?aesop-component-content[^>]*?>(.*?)<\/div>[\s]*?<\/div>/g,c=/
<\/div>/g,d=/]+?>]+>\s*<\/div><\/div>/g;a=a.replace(d,"");var e=b.exec(a);if(e){var f=window.decodeURIComponent(e[1]),g=/\[[^\]]*\]([^\[]*)[^\]]*\]/,h=g.exec(f);return null!=h&&(e[2]=e[2].replace(/^

\W<\/p>/,""),f=f.replace(h[1],e[2])),"

"+f+"

"}if(!(e=c.exec(a)))return a;var f=window.decodeURIComponent(e[1]);return"

"+f+"

"}function h(a){var b={"<":"<",">":">","[":"[","]":"]",""":'"'};return a.replace(/<|>|[|]|"/g,function(a){return b[a]||a})}function i(a){var b=/\[aesop_([a-zA-Z_]+)\s([^\[\]]*)]([^\[\]]+)\[\/aesop_[a-zA-Z_]+]/g,c=/\[aesop_([a-zA-Z_]+)\s([^\[\]]*)]/g,d=/
/g,e=/([^\s]+="[^"]+")/g,f=b.exec(a);if(!f&&!(f=c.exec(a)))return a;for(var g,i=[];null!==(g=e.exec(f[2]));)i.push(g[1]);var j=[];return i.forEach(function(a){var b=a.split(/=(.+)?/);if(b.length>2){var c=a.indexOf("=");b=[a.slice(0,c),a.slice(c+1)]}var d=b[0],e=b[1];e="floatermedia"!=d&&"overlay_content"!=d?h(e):e.replace(/\[/g,"[").replace(/\]/g,"]"),e=e.replace("

","").replace("

",""),e=e.slice(0,-1),j[d]=e.substring(1)}),void 0!==f[3]&&(j.content=f[3].replace(d,"")),j}function j(a){"none"!==a.style.display&&(a.style.display="none")}function k(a){"block"!==a.style.display&&(a.style.display="block")}function l(b){window.clipboardSource=b;var c=tinymce.activeEditor,d=c.dom.create("div",{class:"clipboardControl mceNonEditable unselectable"},'
 
');c.getBody().insertBefore(d,c.getBody().firstChild),window.clipboardControl=a(d)}function m(){var a=tinymce.activeEditor,b=a.dom.select(".clipboardControl");a.dom.remove(b),delete window.clipboard,delete window.clipboardSource,delete window.clipboardControl}function n(){var a=window.clipboardSource,b=tinymce.activeEditor;b.dom.remove(a),k(window.clipboard),b.execCommand("mceInsertRawHTML",!1,window.clipboard.outerHTML),m()}function o(a){tinymce.activeEditor;jQuery(a.outerHTML).insertAfter(a)}jQuery.fn.setCursorPosition=function(b){return 0==this.length?this:a(this).setSelection(b,b)},jQuery.fn.setSelection=function(a,b){if(0==this.length)return this;if(input=this[0],input.createTextRange){var c=input.createTextRange();c.collapse(!0),c.moveEnd("character",b),c.moveStart("character",a),c.select()}else input.setSelectionRange&&(input.focus(),input.setSelectionRange(a,b));return this},jQuery.fn.focusEnd=function(){return this.setCursorPosition(this.val().length),this},b.onClick.add(function(b,c){if(delete window.ailocked,delete window.aiactive,void 0!==a(b.selection.getNode()).parents(".aesop-component")[0]&&(window.aiactive=!0),c.target.className.indexOf("aesop-button-delete")>-1){!0===confirm("Are you sure you want to delete this Aesop Component?")&&c.target.parentNode.parentNode.parentNode.parentNode.removeChild(c.target.parentNode.parentNode.parentNode),delete window.aiactive,window.ailocked=!0,tinymce.execCommand("mceFocus",!1,b.id)}if(c.target.className.indexOf("aesop-button-edit")>-1){var d=/aesop-scope-([a-z_]*)/,e=d.exec(c.target.className),g=c.target.parentNode.parentNode.parentNode,h=g.getAttribute("data-aesop-sc");if(h?(h=window.decodeURIComponent(h),h="

"+h+"

"):h=f(g.outerHTML),g.setAttribute("id","aesop-generator-editing"),e){a("body").toggleClass("modal-open"),a("body").addClass("modal-updating"),a("#aesop-generator-wrap").toggleClass("aesop-generator-open");var k=".dk_options li."+e[1]+" a";a(k).click();var m,n=i(h),p=a("#aesop-generator-settings");for(var q in n)"content"===q?a("#aesop-generator-content").val(n[q]):(m=p.find('[name="'+q+'"]'),"radio"==m.attr("type")?m.each(function(){a(this).val()==n[q]?a(this).attr("checked",!0):a(this).attr("checked",!1)}):m.val(n[q]))}tiny_ai_parent=b.dom.select("#aesop-generator-editing")[0],b.selection.select(tiny_ai_parent),b.selection.collapse(!1)}if(c.target.className.indexOf("aesop-button-clipboard")>-1){var g=c.target.parentNode.parentNode.parentNode;window.clipboard=g,j(g),l(g),b.selection.collapse(!1)}if(c.target.className.indexOf("aesop-button-clone")>-1){var g=c.target.parentNode.parentNode.parentNode;o(g),b.selection.collapse(!1)}}),b.onKeyDown.add(function(b,c){if(delete window.ailocked,13===c.keyCode&&!c.ctrlKey&&!c.shiftKey&&!c.altKey){var d=b.selection.getNode(),e=a(d).parents(".aesop-component");if(a(d).parents(".aesop-component")[0]){c.preventDefault(),c.stopPropagation();var f=a("


").insertAfter(e);f.uniqueId();var g=f.attr("id"),h=b.dom.select("#"+g)[0];b.selection.setCursorLocation(h)}}c.ctrlKey&&c.altKey&&13===c.keyCode&&(c.preventDefault(),c.stopPropagation(),void 0===window.clipboard?alert("Clipboard is empty"):void 0!==window.aiactive?alert("Please do not paste into an existing aesop component"):n())}),b.onKeyUp.add(function(b,c){void 0!==a(b.selection.getNode()).parents(".aesop-component")[0]?window.aiactive=!0:delete window.aiactive}),b.on("BeforeSetContent",function(a){a.content=c(a.content)}),b.on("PostProcess",function(a){a.get&&(a.content=f(a.content))})})}(window.jQuery); +!function(a){tinymce.PluginManager.add("aiview",function(b){function c(a){return a.replace(/(\[aesop_([a-zA-Z_]+)\s([^\[\]]*)]([^\[\]]*)\[\/aesop_[a-zA-Z_]+]|\[aesop_([a-zA-Z_]+)\s?([^\[\]]*)])/g,function(a){return e("aesop-component",a)})}function d(a,b){var c;if(void 0!==b[a+"_internal_note"]){var d=b[a+"_internal_note"].replace(/ /g,"");""!==d&&(c=b[a+"_internal_note"])}if(void 0===c)switch(a){case"parallax":case"video":case"document":case"image":c=b.caption;break;case"gallery":c="id:"+b.id;break;case"character":c=b.name;break;case"timeline_stop":case"chapter":case"audio":case"collection":c=b.title;break;case"quote":c=b.quote;break;default:var e=["title","name","headline"];for(var f in e)if(void 0!==b[e[f]]){var d=b[e[f]].replace(/ /g,"");if(""!==d){c=b[e[f]];break}}}return void 0===c?"":c}function e(a,b){var c=/\[aesop_([a-zA-Z_]+)\s([^\[\]]*)]([^\[\]]+)\[\/aesop_[a-zA-Z_]+]/g,e=/\[aesop_([a-zA-Z_]+)\s?([^\[\]]*)]/g,f=/(<\/p>[\s]*

<\/p>\s

)[\s]*$/,g=/(<\/p>[\s]*

)[\s]*$/,h=c.exec(b);if(h){var j=i(h),k=d(h[1],j);h[3]=h[3].replace(f,""),h[3]=h[3].replace(g,"");var l='

 
 
 
 
'+h[1].replace(/_/g," ")+"
"+k+'

'+h[3]+"

"}else{h=e.exec(b);var j=i(h),k=d(h[1],j),l='
 
 
 
 
'+h[1].replace(/_/g," ")+"
"+k+'
WcMgcq
'}return l}function f(a){return a.replace(/]+?class="[^"]+?aesop-component-long.*?aesop-sc="([^"]+)"[\s\S]*?aesop-component-content[^>]*?>(.*?)<\/div>[\s]*?<\/div>|
[\s]*<\/div>/g,function(a){return g(a)})}function g(a){var b=/]+?class="[^"]+?aesop-component.*?aesop-sc="([^"]+)"[\s\S]*?aesop-component-content[^>]*?>(.*?)<\/div>[\s]*?<\/div>/g,c=/
[\s]*<\/div>/g,d=/]+?>]+>\s*<\/div>[\s]*<\/div>/g;a=a.replace(d,"");var e=b.exec(a);if(e){var f=window.decodeURIComponent(e[1]),g=/\[[^\]]*\]([^\[]*)[^\]]*\]/,h=g.exec(f);return null!=h&&(e[2]=e[2].replace(/^

\W<\/p>/,""),f=f.replace(h[1],e[2])),"

"+f+"

"}if(!(e=c.exec(a)))return a;var f=window.decodeURIComponent(e[1]);return"

"+f+"

"}function h(a){var b={"<":"<",">":">","[":"[","]":"]",""":'"'};return a.replace(/<|>|[|]|"/g,function(a){return b[a]||a})}function i(a){var b=/\[aesop_([a-zA-Z_]+)\s([^\[\]]*)]([^\[\]]+)\[\/aesop_[a-zA-Z_]+]/g,c=/\[aesop_([a-zA-Z_]+)\s([^\[\]]*)]/g,d=/
/g,e=/([^\s]+="[^"]+")/g,f=b.exec(a);if(!f&&!(f=c.exec(a)))return a;for(var g,i=[];null!==(g=e.exec(f[2]));)i.push(g[1]);var j=[];return i.forEach(function(a){var b=a.split(/=(.+)?/);if(b.length>2){var c=a.indexOf("=");b=[a.slice(0,c),a.slice(c+1)]}var d=b[0],e=b[1];e="floatermedia"!=d&&"overlay_content"!=d?h(e):e.replace(/\[/g,"[").replace(/\]/g,"]"),e=e.replace("

","").replace("

",""),e=e.slice(0,-1),j[d]=e.substring(1)}),void 0!==f[3]&&(j.content=f[3].replace(d,"")),j}function j(a){"none"!==a.style.display&&(a.style.display="none")}function k(a){"block"!==a.style.display&&(a.style.display="block")}function l(b){window.clipboardSource=b;var c=tinymce.activeEditor,d=c.dom.create("div",{class:"clipboardControl mceNonEditable unselectable"},'
 
');c.getBody().insertBefore(d,c.getBody().firstChild),window.clipboardControl=a(d)}function m(){var a=tinymce.activeEditor,b=a.dom.select(".clipboardControl");a.dom.remove(b),delete window.clipboard,delete window.clipboardSource,delete window.clipboardControl}function n(){var a=window.clipboardSource,b=tinymce.activeEditor;b.dom.remove(a),k(window.clipboard),b.execCommand("mceInsertRawHTML",!1,window.clipboard.outerHTML),m()}function o(a){tinymce.activeEditor;jQuery(a.outerHTML).insertAfter(a)}jQuery.fn.setCursorPosition=function(b){return 0==this.length?this:a(this).setSelection(b,b)},jQuery.fn.setSelection=function(a,b){if(0==this.length)return this;if(input=this[0],input.createTextRange){var c=input.createTextRange();c.collapse(!0),c.moveEnd("character",b),c.moveStart("character",a),c.select()}else input.setSelectionRange&&(input.focus(),input.setSelectionRange(a,b));return this},jQuery.fn.focusEnd=function(){return this.setCursorPosition(this.val().length),this},b.onClick.add(function(b,c){if(delete window.ailocked,delete window.aiactive,void 0!==a(b.selection.getNode()).parents(".aesop-component")[0]&&(window.aiactive=!0),c.target.className.indexOf("aesop-button-delete")>-1){!0===confirm("Are you sure you want to delete this Aesop Component?")&&c.target.parentNode.parentNode.parentNode.parentNode.removeChild(c.target.parentNode.parentNode.parentNode),delete window.aiactive,window.ailocked=!0,tinymce.execCommand("mceFocus",!1,b.id)}if(c.target.className.indexOf("aesop-button-edit")>-1){var d=/aesop-scope-([a-z_]*)/,e=d.exec(c.target.className),g=c.target.parentNode.parentNode.parentNode,h=g.getAttribute("data-aesop-sc");if(h?(h=window.decodeURIComponent(h),h="

"+h+"

"):h=f(g.outerHTML),g.setAttribute("id","aesop-generator-editing"),e){a("body").toggleClass("modal-open"),a("body").addClass("modal-updating"),a("#aesop-generator-wrap").toggleClass("aesop-generator-open");var k=".dk_options li."+e[1]+" a";a(k).click();var m,n=i(h),p=a("#aesop-generator-settings");for(var q in n)"content"===q?a("#aesop-generator-content").val(n[q]):(m=p.find('[name="'+q+'"]'),"radio"==m.attr("type")?m.each(function(){a(this).val()==n[q]?a(this).attr("checked",!0):a(this).attr("checked",!1)}):m.val(n[q]))}tiny_ai_parent=b.dom.select("#aesop-generator-editing")[0],b.selection.select(tiny_ai_parent),b.selection.collapse(!1)}if(c.target.className.indexOf("aesop-button-clipboard")>-1){var g=c.target.parentNode.parentNode.parentNode;window.clipboard=g,j(g),l(g),b.selection.collapse(!1)}if(c.target.className.indexOf("aesop-button-clone")>-1){var g=c.target.parentNode.parentNode.parentNode;o(g),b.selection.collapse(!1)}}),b.onKeyDown.add(function(b,c){if(delete window.ailocked,13===c.keyCode&&!c.ctrlKey&&!c.shiftKey&&!c.altKey){var d=b.selection.getNode(),e=a(d).parents(".aesop-component");if(a(d).parents(".aesop-component")[0]){c.preventDefault(),c.stopPropagation();var f=a("


").insertAfter(e);f.uniqueId();var g=f.attr("id"),h=b.dom.select("#"+g)[0];b.selection.setCursorLocation(h)}}c.ctrlKey&&c.altKey&&13===c.keyCode&&(c.preventDefault(),c.stopPropagation(),void 0===window.clipboard?alert("Clipboard is empty"):void 0!==window.aiactive?alert("Please do not paste into an existing aesop component"):n())}),b.onKeyUp.add(function(b,c){void 0!==a(b.selection.getNode()).parents(".aesop-component")[0]?window.aiactive=!0:delete window.aiactive}),b.on("BeforeSetContent",function(a){a.content=c(a.content)}),b.on("PostProcess",function(a){a.get&&(a.content=f(a.content))})})}(window.jQuery); //# sourceMappingURL=plugin.min.js.map \ No newline at end of file diff --git a/admin/assets/js/tinymce/aiview/plugin.min.js.map b/admin/assets/js/tinymce/aiview/plugin.min.js.map index 3afa28f2..d84df6b9 100644 --- a/admin/assets/js/tinymce/aiview/plugin.min.js.map +++ b/admin/assets/js/tinymce/aiview/plugin.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["plugin.js"],"names":["$","tinymce","PluginManager","add","editor","replaceAesopShortcodes","content","replace","match","html","getComponentTitle","component","parsedSc","ret","undefined","temp","caption","id","name","title","quote","props","i","cls","data","re_full","re_short","re_cleaner","re_cleaner_short","parsed","exec","parse","componentTitle","st","window","encodeURIComponent","restoreAesopShortcodes","shortcode","re_clean","sc","decodeURIComponent","sc_filter","sc_filtered","SpecialCharDecode","s","tagsToReplace","<",">","[","]",""","tag","re_slice","result","attrs","push","ai_map","forEach","attr","attr2","split","length","indexOf","slice","attr_key","attr_value","substring","hideComponent","c","style","display","showComponent","addClipboardControl","p","clipboardSource","ed","activeEditor","el","dom","create","class","getBody","insertBefore","firstChild","clipboardControl","removeClipboardControl","select","remove","clipboard","pasteClipboard","execCommand","outerHTML","cloneComponent","jQuery","insertAfter","fn","setCursorPosition","position","this","setSelection","selectionStart","selectionEnd","input","createTextRange","range","collapse","moveEnd","moveStart","setSelectionRange","focus","focusEnd","val","onClick","e","ailocked","aiactive","selection","getNode","parents","target","className","confirm","parentNode","removeChild","re_scope","scope","ai_parent","getAttribute","setAttribute","toggleClass","addClass","selector","click","ele","getSettings","key","find","each","tiny_ai_parent","onKeyDown","keyCode","ctrlKey","shiftKey","altKey","container","preventDefault","stopPropagation","insertion","uniqueId","element","setCursorLocation","alert","onKeyUp","on","event","get"],"mappings":"CAAA,SAAWA,GAEPC,QAAQC,cAAcC,IAAI,SAAU,SAAUC,GAG1C,QAAS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H,EAAMpJ,eAI1D4B,OAAO2D","file":"plugin.min.js"} \ No newline at end of file +{"version":3,"sources":["plugin.js"],"names":["$","tinymce","PluginManager","add","editor","replaceAesopShortcodes","content","replace","match","html","getComponentTitle","component","parsedSc","ret","undefined","temp","caption","id","name","title","quote","props","i","cls","data","re_full","re_short","re_cleaner","re_cleaner_short","parsed","exec","parse","componentTitle","st","window","encodeURIComponent","restoreAesopShortcodes","shortcode","re_clean","sc","decodeURIComponent","sc_filter","sc_filtered","SpecialCharDecode","s","tagsToReplace","<",">","[","]",""","tag","re_slice","result","attrs","push","ai_map","forEach","attr","attr2","split","length","indexOf","slice","attr_key","attr_value","substring","hideComponent","c","style","display","showComponent","addClipboardControl","p","clipboardSource","ed","activeEditor","el","dom","create","class","getBody","insertBefore","firstChild","clipboardControl","removeClipboardControl","select","remove","clipboard","pasteClipboard","execCommand","outerHTML","cloneComponent","jQuery","insertAfter","fn","setCursorPosition","position","this","setSelection","selectionStart","selectionEnd","input","createTextRange","range","collapse","moveEnd","moveStart","setSelectionRange","focus","focusEnd","val","onClick","e","ailocked","aiactive","selection","getNode","parents","target","className","confirm","parentNode","removeChild","re_scope","scope","ai_parent","getAttribute","setAttribute","toggleClass","addClass","selector","click","ele","getSettings","key","find","each","tiny_ai_parent","onKeyDown","keyCode","ctrlKey","shiftKey","altKey","container","preventDefault","stopPropagation","insertion","uniqueId","element","setCursorLocation","alert","onKeyUp","on","event","get"],"mappings":"CAAA,SAAWA,GAEPC,QAAQC,cAAcC,IAAI,SAAU,SAAUC,GAG1C,QAASC,GAAuBC,GAC5B,MAAOA,GAAQC,QAAQ,yGAA0G,SAAUC,GACvI,MAAOC,GAAK,kBAAmBD,KAIvC,QAASE,GAAkBC,EAAWC,GAClC,GAAIC,EAEJ,QAA+CC,KAA3CF,EAASD,EAAY,kBAAiC,CAEtD,GAAII,GAAOH,EAASD,EAAY,kBAAkBJ,QAAQ,KAAM,GACnD,MAATQ,IAEAF,EAAMD,EAASD,EAAY,mBA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E/B,SADO/E,QAAOgF,SACI,KAAdD,EAAE2B,UAAmB3B,EAAE4B,UAAY5B,EAAE6B,WAAa7B,EAAE8B,OAAQ,CAC5D,GAAIC,GAAYrE,EAAGyC,UAAUC,UACzB1G,EAAYX,EAAEgJ,GAAW1B,QAAQ,mBACrC,IAAItH,EAAEgJ,GAAW1B,QAAQ,oBAAoB,GAAI,CAC7CL,EAAEgC,iBACFhC,EAAEiC,iBACF,IAAIC,GAAYnJ,EAAE,gBAAgB8F,YAAYnF,EAC9CwI,GAAUC,UAEV,IAAIA,GAAWD,EAAUzF,KAAK,MAC1B2F,EAAU1E,EAAGG,IAAIQ,OAAO,IAAM8D,GAAU,EAC5CzE,GAAGyC,UAAUkC,kBAAkBD,IAInCpC,EAAE4B,SAAW5B,EAAE8B,QAAwB,KAAd9B,EAAE2B,UAC3B3B,EAAEgC,iBACFhC,EAAEiC,sBAC8B,KAArBhH,OAAOsD,UACd+D,MAAM,0BAC4B,KAApBrH,OAAOiF,SACrBoC,MAAM,wDAEN9D,OAMZrF,EAAOoJ,QAAQrJ,IAAI,SAAUwE,EAAIsC,OAC2C,KAA7DjH,EAAE2E,EAAGyC,UAAUC,WAAWC,QAAQ,oBAAoB,GAC7DpF,OAAOiF,UAAW,QAEXjF,QAAOiF,WAKtB/G,EAAOqJ,GAAG,mBAAoB,SAAUC,GACpCA,EAAMpJ,QAAUD,EAAuBqJ,EAAMpJ,WAGjDF,EAAOqJ,GAAG,cAAe,SAAUC,GAC3BA,EAAMC,MACND,EAAMpJ,QAAU8B,EAAuBsH,EAAMpJ,eAI1D4B,OAAO2D","file":"plugin.min.js"} \ No newline at end of file diff --git a/aesop-core.php b/aesop-core.php index dea6df58..2740b16c 100755 --- a/aesop-core.php +++ b/aesop-core.php @@ -13,7 +13,7 @@ * Plugin Name: Aesop Story Engine * Plugin URI: http://aesopstoryengine.com * Description: Open-sourced suite of components that empower interactive storytelling. - * Version: 2.0.9 + * Version: 2.0.10 * Author: Aesopinteractive * Author URI: http://aesopstoryengine.com * Text Domain: aesop-core @@ -30,7 +30,7 @@ } // Set some constants -define( 'AI_CORE_VERSION', '2.0.9' ); +define( 'AI_CORE_VERSION', '2.0.10' ); define( 'AI_CORE_DIR', plugin_dir_path( __FILE__ ) ); define( 'AI_CORE_URL', plugins_url( '', __FILE__ ) );