Changeset 2527111
- Timestamp:
- 05/06/2021 07:50:01 AM (5 years ago)
- Location:
- wp-editor-comments-plus
- Files:
-
- 31 added
- 6 deleted
- 9 edited
-
tags/1.0.0 (deleted)
-
tags/1.0.1 (deleted)
-
tags/1.1 (deleted)
-
tags/1.1.2 (deleted)
-
tags/1.1.3 (deleted)
-
tags/1.1.4 (deleted)
-
tags/1.1.4.1 (added)
-
tags/1.1.4.1/LICENSE (added)
-
tags/1.1.4.1/README.md (added)
-
tags/1.1.4.1/WPEditorCommentsPlus.php (added)
-
tags/1.1.4.1/dist (added)
-
tags/1.1.4.1/dist/assets (added)
-
tags/1.1.4.1/dist/assets/wpEditorCommentsPlus.js (added)
-
tags/1.1.4.1/lang (added)
-
tags/1.1.4.1/lang/index.php (added)
-
tags/1.1.4.1/lang/wp-editor-comments-plus.pot (added)
-
tags/1.1.4.1/readme.txt (added)
-
tags/1.1.4.1/screenshot-1.png (added)
-
tags/1.1.4.1/screenshot-2.png (added)
-
tags/1.1.4.1/src (added)
-
tags/1.1.4.1/src/images (added)
-
tags/1.1.4.1/src/images/ui-icons_555555_256x240.png (added)
-
tags/1.1.4.1/src/images/ui-icons_777777_256x240.png (added)
-
tags/1.1.4.1/src/images/ui-icons_ffffff_256x240.png (added)
-
tags/1.1.4.1/src/js (added)
-
tags/1.1.4.1/src/js/comment-reply.js (added)
-
tags/1.1.4.1/src/js/index.php (added)
-
tags/1.1.4.1/src/js/wp-editor-comments-plus-admin.js (added)
-
tags/1.1.4.1/src/js/wp-editor-comments-plus.js (added)
-
tags/1.1.4.1/src/styles (added)
-
tags/1.1.4.1/src/styles/jquery-ui.min.css (added)
-
tags/1.1.4.1/uninstall.php (added)
-
tags/1.1.4.1/views (added)
-
tags/1.1.4.1/views/admin.php (added)
-
tags/1.1.4.1/views/index.php (added)
-
tags/1.1.4.1/views/public.php (added)
-
tags/1.1.4.1/wp-editor-comments-plus.php (added)
-
trunk/WPEditorCommentsPlus.php (modified) (2 diffs)
-
trunk/dist/assets/wpEditorCommentsPlus.js (modified) (1 diff)
-
trunk/lang/wp-editor-comments-plus.pot (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/src/js/wp-editor-comments-plus.js (modified) (1 diff)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/views/admin.php (modified) (1 diff)
-
trunk/views/public.php (modified) (1 diff)
-
trunk/wp-editor-comments-plus.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-editor-comments-plus/trunk/WPEditorCommentsPlus.php
r1430214 r2527111 4 4 * 5 5 * @package wp-editor-comments-plus 6 * @author Kentaro Fischer <webdev@kentarofischer.com>6 * @author Neo Snc <neosnc1@gmail.com> 7 7 * @license GPL-2.0+ 8 * @link http ://kentarofischer.com9 * @copyright 4-29-2016 Kentaro Fischer8 * @link https://wordpress.org/plugins/wp-editor-comments-plus/ 9 * @copyright 4-29-2016 Neo Snc 10 10 */ 11 11 … … 14 14 * 15 15 * @package WPEditorCommentsPlus 16 * @author Kentaro Fischer <webdev@kentarofischer.com>16 * @author Neo Snc <neosnc1@gmail.com> 17 17 */ 18 18 class WPEditorCommentsPlus { -
wp-editor-comments-plus/trunk/dist/assets/wpEditorCommentsPlus.js
r1430214 r2527111 19 19 * 20 20 * @package wp-editor-comments-plus 21 * @author Kentaro Fischer <webdev@kentarofischer.com>21 * @author Neo Snc <neosnc1@gmail.com> 22 22 * @license GPL-2.0+ 23 * @link http ://kentarofischer.com24 * @copyright 1-4-2015 Kentaro Fischer23 * @link https://wordpress.org/plugins/wp-editor-comments-plus/ 24 * @copyright 1-4-2015 Neo Snc 25 25 */ 26 26 "use strict";function o(e){return e&&e.__esModule?e:{"default":e}}var r=n(32),i=o(r),a=n(117),s=o(a),u=window.wpecp||{},l=window.wpecpGlobals||{},c=jQuery;window.wpecp=u,u.initWPECP=function(){l.length&&(window.wpecp.globals=JSON.parse(l)),u.RespondView=Backbone.View.extend({events:function(){var e={};return e.submit="submitForm",e},initialize:function(){this.$commentForm=c(u.globals.wpecp_id_comment_form),this.$textArea=c(u.globals.wpecp_id_comment_textarea),this.$submitButton=c(u.globals.wpecp_id_submit_comment),this.$submitButton.addClass(u.globals.wpecp_css_button+" "+u.globals.wpecp_css_submit_button),this.disableSubmit=!1},submitForm:function(e){e.preventDefault();var t=this,n=tinyMCE.activeEditor.getContent(),o=this.$submitButton.val();this.$textArea.html(n),this.$submitButton.val("Posting..."),this.$submitButton.attr("disabled",!0),this.disableSubmit||(this.disableSubmit=!0,c.ajax({url:this.$commentForm.attr("action"),type:"post",data:this.$commentForm.serialize()}).done(function(e){t.$el.find(u.globals.wpecp_id_cancel_comment_reply).click(),t.$submitButton.attr("disabled",!1),t.$submitButton.val(o),tinymce.activeEditor.setContent("");var n=c(e).find(u.globals.wpecp_id_comments),r=c(u.globals.wpecp_id_comments);n.length&&(tinymce.EditorManager.execCommand("mceRemoveEditor",!0,"comment"),r.replaceWith(n),u.bindEditors(),tinymce.EditorManager.execCommand("mceAddEditor",!0,"comment"))}).fail(function(e){}).then(function(e){t.disableSubmit=!1}))}}),u.bindEditors=function(){u.Edit=n(93),c("."+u.globals.wpecp_css_edit).each(function(){var e=c(this).data(u.globals.wpecp_css_comment_id),t=u.globals.wpecp_css_edit+e,n=u.globals.wpecp_css_editor+e;c(this).siblings("."+u.globals.wpecp_css_comment_reply_button)[0];s["default"].render(i["default"].createElement(u.Edit,{wpecpGlobals:u.globals,commentId:e,editId:t,editorId:n}),this)}),u.Editor=n(94),c("."+u.globals.wpecp_css_editor).each(function(){var e=c(this).data(u.globals.wpecp_css_comment_id),t=u.globals.wpecp_css_edit+e,n=u.globals.wpecp_css_editor+e,o=u.globals.wpecp_css_comment_content+e;s["default"].render(i["default"].createElement(u.Editor,{wpecpGlobals:u.globals,commentId:e,editId:t,editorId:n,contentId:o}),this)}),new u.RespondView({el:c(u.globals.wpecp_id_respond)})}},function(e){e(function(){u.initWPECP(),u.bindEditors()})}(jQuery)},function(e,t,n){n(112),e.exports=n(33).Object.assign},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var o=n(100);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){e.exports=!n(53)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var o=n(54),r=n(33),i=n(55),a=n(109),s=n(102),u="prototype",l=function(e,t,n){var c,p,d,f,h=e&l.F,m=e&l.G,g=e&l.S,v=e&l.P,y=e&l.B,b=m?o:g?o[t]||(o[t]={}):(o[t]||{})[u],w=m?r:r[t]||(r[t]={}),_=w[u]||(w[u]={});m&&(n=t);for(c in n)p=!h&&b&&c in b,d=(p?b:n)[c],f=y&&p?s(d,o):v&&"function"==typeof d?s(Function.call,d):d,b&&!p&&a(b,c,d),w[c]!=d&&i(w,c,f),v&&_[c]!=d&&(_[c]=d)};o.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,e.exports=l},function(e,t,n){var o=n(101);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,t,n){var o=n(56),r=n(110),i=n(106);e.exports=n(53)(function(){var e=Object.assign,t={},n={},o=Symbol(),r="abcdefghijklmnopqrst";return t[o]=7,r.split("").forEach(function(e){n[e]=e}),7!=e({},t)[o]||Object.keys(e({},n)).join("")!=r})?function(e,t){for(var n=r(e),a=arguments,s=a.length,u=1,l=o.getKeys,c=o.getSymbols,p=o.isEnum;s>u;)for(var d,f=i(a[u++]),h=c?l(f).concat(c(f)):l(f),m=h.length,g=0;m>g;)p.call(f,d=h[g++])&&(n[d]=f[d]);return n}:Object.assign},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var o=n(54),r=n(55),i=n(111)("src"),a="toString",s=Function[a],u=(""+s).split(a);n(33).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,a){"function"==typeof n&&(n.hasOwnProperty(i)||r(n,i,e[t]?""+e[t]:u.join(String(t))),n.hasOwnProperty("name")||r(n,"name",t)),e===o?e[t]=n:(a||delete e[t],r(e,t,n))})(Function.prototype,a,function(){return"function"==typeof this&&this[i]||s.call(this)})},function(e,t,n){var o=n(103);e.exports=function(e){return Object(o(e))}},function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},function(e,t,n){var o=n(105);o(o.S+o.F,"Object",{assign:n(107)})},function(e,t,n){t=e.exports=n(57)(),t.push([e.id,".wpecp-settings .wpecp-option{display:block;font-size:1.25em}.wpecp-settings .wpecp-option fieldset{width:48%;display:inline-block;margin:2em 1% 0 0;padding:1em;vertical-align:top;background:#fafafa;box-sizing:border-box;border:1px solid #eee;border-radius:5px;box-shadow:3px 3px 4px #eaeaea}.wpecp-settings .wpecp-option fieldset p{display:inline-block;margin:0 1em;font-size:.9em;font-weight:400}.wpecp-settings .wpecp-option fieldset input{position:relative;border-radius:5px}.wpecp-settings .wpecp-option fieldset>input{float:right;margin-right:1em}.wpecp-settings .wpecp-option fieldset legend{width:100%;box-sizing:border-box;padding:5px 10px;font-weight:700;border-top:1px solid #eee;border-radius:5px;background:#fff;box-shadow:3px 3px 3px #f0f0f0}.wpecp-settings .wpecp-option fieldset .box{margin:20px 1em;padding:15px;border:1px solid #ddd;border-radius:5px}.wpecp-settings .wpecp-option fieldset .box>label{display:block}.wpecp-settings .wpecp-option fieldset .confirmed{display:none;margin:0 0 15px;padding:.5em 1em;text-align:center;background-color:#a0f9da;border-radius:5px;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);opacity:1}.wpecp-settings .wpecp-option fieldset .confirmed>.message{color:#554236;animation:blinker .25s 1}.wpecp-settings .wpecp-option fieldset .confirmed>.dashicons{color:#60b99a}.wpecp-settings .wpecp-option fieldset .confirmed.saving{background-color:#f1efa5;opacity:1}.wpecp-settings .wpecp-option fieldset .confirmed.saving>.message{animation:blinker .5s 1}@keyframes blinker{50%{opacity:0}}.wpecp-settings .wpecp-option fieldset .confirmed.fail{background-color:#fa023c}.wpecp-settings .wpecp-option fieldset .confirmed.fail>.message{color:#fff}.wpecp-settings .wpecp-option fieldset .confirmed.fade{opacity:0;transition:opacity 1s linear}.wpecp-settings .wpecp-option fieldset.comment-editing legend>.dashicons,.wpecp-settings .wpecp-option fieldset.comment-expiration legend>.dashicons,.wpecp-settings .wpecp-option fieldset.custom-classes legend>.dashicons,.wpecp-settings .wpecp-option fieldset.custom-toolbars legend>.dashicons,.wpecp-settings .wpecp-option fieldset.wordpress-ids legend>.dashicons{color:#60b99a}.wpecp-settings .wpecp-option fieldset.custom-classes label,.wpecp-settings .wpecp-option fieldset.custom-toolbars label,.wpecp-settings .wpecp-option fieldset.wordpress-ids label{width:100%;display:table;table-layout:fixed;padding:5px 10px;border-radius:5px;box-sizing:border-box}.wpecp-settings .wpecp-option fieldset.custom-classes label:nth-child(even),.wpecp-settings .wpecp-option fieldset.custom-toolbars label:nth-child(even),.wpecp-settings .wpecp-option fieldset.wordpress-ids label:nth-child(even){background-color:#fdfdfd}.wpecp-settings .wpecp-option fieldset.custom-classes label span,.wpecp-settings .wpecp-option fieldset.custom-toolbars label span,.wpecp-settings .wpecp-option fieldset.wordpress-ids label span{display:table-cell;text-align:right;width:52%;padding-right:10px}.wpecp-settings .wpecp-option fieldset.custom-classes label input,.wpecp-settings .wpecp-option fieldset.custom-toolbars label input,.wpecp-settings .wpecp-option fieldset.wordpress-ids label input{display:table-cell;width:100%;margin-bottom:5px}.wpecp-settings .wpecp-option fieldset.custom-toolbars{width:97.3%}.wpecp-settings .wpecp-option fieldset.custom-toolbars label span{width:17%}.wpecp-settings .wpecp-option fieldset .editing-control,.wpecp-settings .wpecp-option fieldset .expiration-control{float:right}.wpecp-settings .wpecp-option fieldset .editing-control>label,.wpecp-settings .wpecp-option fieldset .editing-control>output,.wpecp-settings .wpecp-option fieldset .expiration-control>label,.wpecp-settings .wpecp-option fieldset .expiration-control>output{vertical-align:top}.wpecp-settings .wpecp-option fieldset .editing-control>label,.wpecp-settings .wpecp-option fieldset .expiration-control>label{margin-top:.35em}.wpecp-settings .wpecp-option fieldset .editing-control>output,.wpecp-settings .wpecp-option fieldset .expiration-control>output{margin:.35em 1em 0 0;display:inline-block}.wpecp-settings .wpecp-option fieldset .editing-control>label,.wpecp-settings .wpecp-option fieldset .expiration-control>label{margin-right:.5em}.wpecp-settings .wpecp-option fieldset .editing-control>output,.wpecp-settings .wpecp-option fieldset .expiration-control>output{margin-top:0}.wpecp-settings .wpecp-option fieldset .expiration-control{margin:0 .5em;float:none}.wpecp-settings .wpecp-option fieldset .expiration-control label{width:125px;display:inline-block;margin:15px .5em 0 0;white-space:nowrap;box-sizing:border-box;text-align:right}.wpecp-settings .wpecp-option fieldset .expiration-control label .ui-spinner{width:3em;position:relative}.wpecp-settings .wpecp-option fieldset .expiration-control label .ui-spinner input{width:2em}.wpecp-settings .wpecp-option fieldset .expiration-control label.days .ui-spinner{width:4em}.wpecp-settings .wpecp-option fieldset .expiration-control label.days .ui-spinner input{width:3em}@media only screen and (max-width:1224px){.wpecp-settings .wpecp-option fieldset{width:100%;display:block;margin:2em 0 0}.wpecp-settings .wpecp-option fieldset.custom-classes label span,.wpecp-settings .wpecp-option fieldset.custom-toolbars label span,.wpecp-settings .wpecp-option fieldset.wordpress-ids label span{width:32%}.wpecp-settings .wpecp-option fieldset.custom-toolbars{width:100%}}@media only screen and (max-width:1024px){.wpecp-settings .wpecp-option fieldset.custom-classes label span,.wpecp-settings .wpecp-option fieldset.custom-toolbars label span,.wpecp-settings .wpecp-option fieldset.wordpress-ids label span{width:100%;display:block;margin-bottom:5px;text-align:left}.wpecp-settings .wpecp-option fieldset.custom-classes label input,.wpecp-settings .wpecp-option fieldset.custom-toolbars label input,.wpecp-settings .wpecp-option fieldset.wordpress-ids label input{width:100%;margin:0 0 15px;display:block}}@media only screen and (max-width:768px){.wpecp-settings .wpecp-option fieldset{width:100%;display:block;margin:10px 0 0}.wpecp-settings .wpecp-option fieldset.custom-classes input,.wpecp-settings .wpecp-option fieldset.custom-toolbars input,.wpecp-settings .wpecp-option fieldset.wordpress-ids input{display:block;margin:10px 0 15px;width:100%}.wpecp-settings .wpecp-option fieldset.comment-editing .expiration-control,.wpecp-settings .wpecp-option fieldset.comment-editing p,.wpecp-settings .wpecp-option fieldset.comment-expiration .expiration-control,.wpecp-settings .wpecp-option fieldset.comment-expiration p,.wpecp-settings .wpecp-option fieldset.custom-classes .expiration-control,.wpecp-settings .wpecp-option fieldset.custom-classes p,.wpecp-settings .wpecp-option fieldset.wordpress-ids .expiration-control,.wpecp-settings .wpecp-option fieldset.wordpress-ids p{display:block;float:none}.wpecp-settings .wpecp-option fieldset.comment-editing .expiration-control input,.wpecp-settings .wpecp-option fieldset.comment-editing .expiration-control output,.wpecp-settings .wpecp-option fieldset.comment-editing p input,.wpecp-settings .wpecp-option fieldset.comment-editing p output,.wpecp-settings .wpecp-option fieldset.comment-expiration .expiration-control input,.wpecp-settings .wpecp-option fieldset.comment-expiration .expiration-control output,.wpecp-settings .wpecp-option fieldset.comment-expiration p input,.wpecp-settings .wpecp-option fieldset.comment-expiration p output,.wpecp-settings .wpecp-option fieldset.custom-classes .expiration-control input,.wpecp-settings .wpecp-option fieldset.custom-classes .expiration-control output,.wpecp-settings .wpecp-option fieldset.custom-classes p input,.wpecp-settings .wpecp-option fieldset.custom-classes p output,.wpecp-settings .wpecp-option fieldset.wordpress-ids .expiration-control input,.wpecp-settings .wpecp-option fieldset.wordpress-ids .expiration-control output,.wpecp-settings .wpecp-option fieldset.wordpress-ids p input,.wpecp-settings .wpecp-option fieldset.wordpress-ids p output{display:block}.wpecp-settings .wpecp-option fieldset.comment-editing .expiration-control,.wpecp-settings .wpecp-option fieldset.comment-expiration .expiration-control,.wpecp-settings .wpecp-option fieldset.custom-classes .expiration-control,.wpecp-settings .wpecp-option fieldset.wordpress-ids .expiration-control{margin:0 1em}.wpecp-settings .wpecp-option fieldset.comment-editing .editing-control,.wpecp-settings .wpecp-option fieldset.comment-expiration .editing-control,.wpecp-settings .wpecp-option fieldset.custom-classes .editing-control,.wpecp-settings .wpecp-option fieldset.wordpress-ids .editing-control{margin:.75em 1em 0;float:none}.wpecp-settings .wpecp-option fieldset.comment-editing input[type=button],.wpecp-settings .wpecp-option fieldset.comment-editing input[type=datetime],.wpecp-settings .wpecp-option fieldset.comment-editing input[type=range],.wpecp-settings .wpecp-option fieldset.comment-expiration input[type=button],.wpecp-settings .wpecp-option fieldset.comment-expiration input[type=datetime],.wpecp-settings .wpecp-option fieldset.comment-expiration input[type=range],.wpecp-settings .wpecp-option fieldset.custom-classes input[type=button],.wpecp-settings .wpecp-option fieldset.custom-classes input[type=datetime],.wpecp-settings .wpecp-option fieldset.custom-classes input[type=range],.wpecp-settings .wpecp-option fieldset.wordpress-ids input[type=button],.wpecp-settings .wpecp-option fieldset.wordpress-ids input[type=datetime],.wpecp-settings .wpecp-option fieldset.wordpress-ids input[type=range]{float:none;top:5px}}",""])},function(e,t,n){t=e.exports=n(57)(),t.push([e.id,".form-allowed-tags{display:none}.wp-editor-wrap{border:1px solid #eee;margin-bottom:1.25em}.mce-tinymce.mce-container.mce-panel{border:1px solid #eaeaea}.wpecp-edit{display:inline-block}.wpecp-edit-comment{margin-right:1em}.wpecp-cancel-edit{margin-left:1em}.wpecp-cancel-edit,.wpecp-edit-comment,.wpecp-submit-edit{position:relative}.wpecp-edit-container{margin:5px 0 1rem}.wpecp-edit-container .spinner{display:none;position:relative;top:2px;margin:0 5px;width:16px;height:16px}",""])},function(e,t,n){var o,r;!function(i,a){"use strict";o=a,r="function"==typeof o?o.call(t,n,t,e):o,!(void 0!==r&&(e.exports=r))}(this,function(){var e,t,n,o,r=Function.call,i=Object.prototype,a=r.bind(i.hasOwnProperty),s=r.bind(i.propertyIsEnumerable),u=r.bind(i.toString),l=a(i,"__defineGetter__");l&&(e=r.bind(i.__defineGetter__),t=r.bind(i.__defineSetter__),n=r.bind(i.__lookupGetter__),o=r.bind(i.__lookupSetter__)),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){var t=e.__proto__;return t||null===t?t:"[object Function]"===u(e.constructor)?e.constructor.prototype:e instanceof Object?i:null});var c=function(e){try{return e.sentinel=0,0===Object.getOwnPropertyDescriptor(e,"sentinel").value}catch(t){return!1}};if(Object.defineProperty){var p=c({}),d="undefined"==typeof document||c(document.createElement("div"));if(!d||!p)var f=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||f){var h="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(h+e);if(f)try{return f.call(Object,e,t)}catch(r){}var u;if(!a(e,t))return u;if(u={enumerable:s(e,t),configurable:!0},l){var c=e.__proto__,p=e!==i;p&&(e.__proto__=i);var d=n(e,t),m=o(e,t);if(p&&(e.__proto__=c),d||m)return d&&(u.get=d),m&&(u.set=m),u}return u.value=e[t],u.writable=!0,u}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var m,g=!({__proto__:null}instanceof Object),v=function(){if(!document.domain)return!1;try{return!!new ActiveXObject("htmlfile")}catch(e){return!1}},y=function(){var e,t;return t=new ActiveXObject("htmlfile"),t.write("<script></script>"),t.close(),e=t.parentWindow.Object.prototype,t=null,e},b=function(){var e,t=document.createElement("iframe"),n=document.body||document.documentElement;return t.style.display="none",n.appendChild(t),t.src="javascript:",e=t.contentWindow.Object.prototype,n.removeChild(t),t=null,e};m=g||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var e=v()?y():b();delete e.constructor,delete e.hasOwnProperty,delete e.propertyIsEnumerable,delete e.isPrototypeOf,delete e.toLocaleString,delete e.toString,delete e.valueOf;var t=function(){};return t.prototype=e,m=function(){return new t},new t},Object.create=function(e,t){var n,o=function(){};if(null===e)n=m();else{if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object prototype may only be an Object or null");o.prototype=e,n=new o,n.__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}}var w=function(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){return!1}};if(Object.defineProperty){var _=w({}),E="undefined"==typeof document||w(document.createElement("div"));if(!_||!E)var C=Object.defineProperty,x=Object.defineProperties}if(!Object.defineProperty||C){var S="Property description must be an object: ",D="Object.defineProperty called on non-object: ",T="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(r,a,s){if("object"!=typeof r&&"function"!=typeof r||null===r)throw new TypeError(D+r);if("object"!=typeof s&&"function"!=typeof s||null===s)throw new TypeError(S+s);if(C)try{return C.call(Object,r,a,s)}catch(u){}if("value"in s)if(l&&(n(r,a)||o(r,a))){var c=r.__proto__;r.__proto__=i,delete r[a],r[a]=s.value,r.__proto__=c}else r[a]=s.value;else{if(!l&&("get"in s||"set"in s))throw new TypeError(T);"get"in s&&e(r,a,s.get),"set"in s&&t(r,a,s.set)}return r}}(!Object.defineProperties||x)&&(Object.defineProperties=function(e,t){if(x)try{return x.call(Object,e,t)}catch(n){}return Object.keys(t).forEach(function(n){"__proto__"!==n&&Object.defineProperty(e,n,t[n])}),e}),Object.seal||(Object.seal=function(e){if(Object(e)!==e)throw new TypeError("Object.seal can only be called on Objects.");return e}),Object.freeze||(Object.freeze=function(e){if(Object(e)!==e)throw new TypeError("Object.freeze can only be called on Objects.");return e});try{Object.freeze(function(){})}catch(O){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(e){if(Object(e)!==e)throw new TypeError("Object.preventExtensions can only be called on Objects.");return e}),Object.isSealed||(Object.isSealed=function(e){if(Object(e)!==e)throw new TypeError("Object.isSealed can only be called on Objects.");return!1}),Object.isFrozen||(Object.isFrozen=function(e){if(Object(e)!==e)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)!==e)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var t="";a(e,t);)t+="?";e[t]=!0;var n=a(e,t);return delete e[t],n})})},function(e,t,n){var o,r;!function(i,a){"use strict";o=a,r="function"==typeof o?o.call(t,n,t,e):o,!(void 0!==r&&(e.exports=r))}(this,function(){var e,t=Array,n=t.prototype,o=Object,r=o.prototype,i=Function.prototype,a=String,s=a.prototype,u=Number,l=u.prototype,c=n.slice,p=n.splice,d=n.push,f=n.unshift,h=n.concat,m=i.call,g=i.apply,v=Math.max,y=Math.min,b=r.toString,w="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,_=Function.prototype.toString,E=function(e){try{return _.call(e),!0}catch(t){return!1}},C="[object Function]",x="[object GeneratorFunction]";e=function(e){if("function"!=typeof e)return!1;if(w)return E(e);var t=b.call(e);return t===C||t===x};var S,D=RegExp.prototype.exec,T=function(e){try{return D.call(e),!0}catch(t){return!1}},O="[object RegExp]";S=function(e){return"object"!=typeof e?!1:w?T(e):b.call(e)===O};var I,M=String.prototype.valueOf,P=function(e){try{return M.call(e),!0}catch(t){return!1}},N="[object String]";I=function(e){return"string"==typeof e?!0:"object"!=typeof e?!1:w?P(e):b.call(e)===N};var k=o.defineProperty&&function(){try{var e={};o.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(n){return!1}}(),R=function(e){var t;return t=k?function(e,t,n,r){!r&&t in e||o.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,o){!o&&t in e||(e[t]=n)},function(n,o,r){for(var i in o)e.call(o,i)&&t(n,i,o[i],r)}}(r.hasOwnProperty),A=function(e){var t=typeof e;return null===e||"object"!==t&&"function"!==t},j=u.isNaN||function(e){return e!==e},U={ToInteger:function(e){var t=+e;return j(t)?t=0:0!==t&&t!==1/0&&t!==-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t},ToPrimitive:function(t){var n,o,r;if(A(t))return t;if(o=t.valueOf,e(o)&&(n=o.call(t),A(n)))return n;if(r=t.toString,e(r)&&(n=r.call(t),A(n)))return n;throw new TypeError},ToObject:function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return o(e)},ToUint32:function(e){return e>>>0}},L=function(){};R(i,{bind:function(t){var n=this;if(!e(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var r,i=c.call(arguments,1),a=function(){if(this instanceof r){var e=n.apply(this,h.call(i,c.call(arguments)));return o(e)===e?e:this}return n.apply(t,h.call(i,c.call(arguments)))},s=v(0,n.length-i.length),u=[],l=0;s>l;l++)d.call(u,"$"+l);return r=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this, arguments); }")(a),n.prototype&&(L.prototype=n.prototype,r.prototype=new L,L.prototype=null),r}});var F=m.bind(r.hasOwnProperty),B=m.bind(r.toString),V=m.bind(c),W=g.bind(c),$=m.bind(s.slice),K=m.bind(s.split),H=m.bind(s.indexOf),z=m.bind(d),G=m.bind(r.propertyIsEnumerable),q=m.bind(n.sort),Y=t.isArray||function(e){return"[object Array]"===B(e)},X=1!==[].unshift(0);R(n,{unshift:function(){return f.apply(this,arguments),this.length}},X),R(t,{isArray:Y});var Q=o("a"),J="a"!==Q[0]||!(0 in Q),Z=function(e){var t=!0,n=!0;return e&&(e.call("foo",function(e,n,o){"object"!=typeof o&&(t=!1)}),e.call([1],function(){"use strict";n="string"==typeof this},"x")),!!e&&t&&n};R(n,{forEach:function(t){var n,o=U.ToObject(this),r=J&&I(this)?K(this,""):o,i=-1,a=U.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++i<a;)i in r&&("undefined"==typeof n?t(r[i],i,o):t.call(n,r[i],i,o))}},!Z(n.forEach)),R(n,{map:function(n){var o,r=U.ToObject(this),i=J&&I(this)?K(this,""):r,a=U.ToUint32(i.length),s=t(a);if(arguments.length>1&&(o=arguments[1]),!e(n))throw new TypeError("Array.prototype.map callback must be a function");for(var u=0;a>u;u++)u in i&&("undefined"==typeof o?s[u]=n(i[u],u,r):s[u]=n.call(o,i[u],u,r));return s}},!Z(n.map)),R(n,{filter:function(t){var n,o,r=U.ToObject(this),i=J&&I(this)?K(this,""):r,a=U.ToUint32(i.length),s=[];if(arguments.length>1&&(o=arguments[1]),!e(t))throw new TypeError("Array.prototype.filter callback must be a function");for(var u=0;a>u;u++)u in i&&(n=i[u],("undefined"==typeof o?t(n,u,r):t.call(o,n,u,r))&&z(s,n));return s}},!Z(n.filter)),R(n,{every:function(t){var n,o=U.ToObject(this),r=J&&I(this)?K(this,""):o,i=U.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.every callback must be a function");for(var a=0;i>a;a++)if(a in r&&!("undefined"==typeof n?t(r[a],a,o):t.call(n,r[a],a,o)))return!1;return!0}},!Z(n.every)),R(n,{some:function(t){var n,o=U.ToObject(this),r=J&&I(this)?K(this,""):o,i=U.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.some callback must be a function");for(var a=0;i>a;a++)if(a in r&&("undefined"==typeof n?t(r[a],a,o):t.call(n,r[a],a,o)))return!0;return!1}},!Z(n.some));var ee=!1;n.reduce&&(ee="object"==typeof n.reduce.call("es5",function(e,t,n,o){return o})),R(n,{reduce:function(t){var n=U.ToObject(this),o=J&&I(this)?K(this,""):n,r=U.ToUint32(o.length);if(!e(t))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===r&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,a=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(a in o){i=o[a++];break}if(++a>=r)throw new TypeError("reduce of empty array with no initial value")}for(;r>a;a++)a in o&&(i=t(i,o[a],a,n));return i}},!ee);var te=!1;n.reduceRight&&(te="object"==typeof n.reduceRight.call("es5",function(e,t,n,o){return o})),R(n,{reduceRight:function(t){var n=U.ToObject(this),o=J&&I(this)?K(this,""):n,r=U.ToUint32(o.length);if(!e(t))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===r&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,a=r-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(a in o){i=o[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>a)return i;do a in o&&(i=t(i,o[a],a,n));while(a--);return i}},!te);var ne=n.indexOf&&-1!==[0,1].indexOf(1,2);R(n,{indexOf:function(e){var t=J&&I(this)?K(this,""):U.ToObject(this),n=U.ToUint32(t.length);if(0===n)return-1;var o=0;for(arguments.length>1&&(o=U.ToInteger(arguments[1])),o=o>=0?o:v(0,n+o);n>o;o++)if(o in t&&t[o]===e)return o;return-1}},ne);var oe=n.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);R(n,{lastIndexOf:function(e){var t=J&&I(this)?K(this,""):U.ToObject(this),n=U.ToUint32(t.length);if(0===n)return-1;var o=n-1;for(arguments.length>1&&(o=y(o,U.ToInteger(arguments[1]))),o=o>=0?o:n-Math.abs(o);o>=0;o--)if(o in t&&e===t[o])return o;return-1}},oe);var re=function(){var e=[1,2],t=e.splice();return 2===e.length&&Y(t)&&0===t.length}();R(n,{splice:function(e,t){return 0===arguments.length?[]:p.apply(this,arguments)}},!re);var ie=function(){var e={};return n.splice.call(e,0,0,1),1===e.length}();R(n,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=v(U.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof t&&(n=V(arguments),n.length<2?z(n,this.length-e):n[1]=U.ToInteger(t)),p.apply(this,n)}},!ie);var ae=function(){var e=new t(1e5);return e[8]="x",e.splice(1,1),7===e.indexOf("x")}(),se=function(){var e=256,t=[];return t[e]="a",t.splice(e+1,0,"b"),"a"===t[e]}();R(n,{splice:function(e,t){for(var n,o=U.ToObject(this),r=[],i=U.ToUint32(o.length),s=U.ToInteger(e),u=0>s?v(i+s,0):y(s,i),l=y(v(U.ToInteger(t),0),i-u),c=0;l>c;)n=a(u+c),F(o,n)&&(r[c]=o[n]),c+=1;var p,d=V(arguments,2),f=d.length;if(l>f){for(c=u;i-l>c;)n=a(c+l),p=a(c+f),F(o,n)?o[p]=o[n]:delete o[p],c+=1;for(c=i;c>i-l+f;)delete o[c-1],c-=1}else if(f>l)for(c=i-l;c>u;)n=a(c+l-1),p=a(c+f-1),F(o,n)?o[p]=o[n]:delete o[p],c-=1;c=u;for(var h=0;h<d.length;++h)o[c]=d[h],c+=1;return o.length=i-l+f,r}},!ae||!se);var ue,le=n.join;try{ue="1,2,3"!==Array.prototype.join.call("123",",")}catch(ce){ue=!0}ue&&R(n,{join:function(e){var t="undefined"==typeof e?",":e;return le.call(I(this)?K(this,""):this,t)}},ue);var pe="1,2"!==[1,2].join(void 0);pe&&R(n,{join:function(e){var t="undefined"==typeof e?",":e;return le.call(this,t)}},pe);var de=function(e){for(var t=U.ToObject(this),n=U.ToUint32(t.length),o=0;o<arguments.length;)t[n+o]=arguments[o],o+=1;return t.length=n+o,n+o},fe=function(){var e={},t=Array.prototype.push.call(e,void 0);return 1!==t||1!==e.length||"undefined"!=typeof e[0]||!F(e,0)}();R(n,{push:function(e){return Y(this)?d.apply(this,arguments):de.apply(this,arguments)}},fe);var he=function(){var e=[],t=e.push(void 0);return 1!==t||1!==e.length||"undefined"!=typeof e[0]||!F(e,0)}();R(n,{push:de},he),R(n,{slice:function(e,t){var n=I(this)?K(this,""):this;return W(n,arguments)}},J);var me=function(){try{return[1,2].sort(null),[1,2].sort({}),!0}catch(e){}return!1}(),ge=function(){try{return[1,2].sort(/a/),!1}catch(e){}return!0}(),ve=function(){try{return[1,2].sort(void 0),!0}catch(e){}return!1}();R(n,{sort:function(t){if("undefined"==typeof t)return q(this);if(!e(t))throw new TypeError("Array.prototype.sort callback must be a function");return q(this,t)}},me||!ve||!ge);var ye=!{toString:null}.propertyIsEnumerable("toString"),be=function(){}.propertyIsEnumerable("prototype"),we=!F("x","0"),_e=function(e){var t=e.constructor;return t&&t.prototype===e},Ee={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0},Ce=function(){if("undefined"==typeof window)return!1;for(var e in window)try{!Ee["$"+e]&&F(window,e)&&null!==window[e]&&"object"==typeof window[e]&&_e(window[e])}catch(t){return!0}return!1}(),xe=function(e){if("undefined"==typeof window||!Ce)return _e(e);try{return _e(e)}catch(t){return!1}},Se=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],De=Se.length,Te=function(e){return"[object Arguments]"===B(e)},Oe=function(t){return null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&!Y(t)&&e(t.callee)},Ie=Te(arguments)?Te:Oe;R(o,{keys:function(t){var n=e(t),o=Ie(t),r=null!==t&&"object"==typeof t,i=r&&I(t);if(!r&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var s=[],u=be&&n;if(i&&we||o)for(var l=0;l<t.length;++l)z(s,a(l));if(!o)for(var c in t)u&&"prototype"===c||!F(t,c)||z(s,a(c));if(ye)for(var p=xe(t),d=0;De>d;d++){var f=Se[d];p&&"constructor"===f||!F(t,f)||z(s,f)}return s}});var Me=o.keys&&function(){return 2===o.keys(arguments).length}(1,2),Pe=o.keys&&function(){var e=o.keys(arguments);return 1!==arguments.length||1!==e.length||1!==e[0]}(1),Ne=o.keys;R(o,{keys:function(e){return Ne(Ie(e)?V(e):e)}},!Me||Pe);var ke=-621987552e5,Re="-000001",Ae=Date.prototype.toISOString&&-1===new Date(ke).toISOString().indexOf(Re),je=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString();R(Date.prototype,{toISOString:function(){var e,t,n,o,r;if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");for(o=this.getUTCFullYear(),r=this.getUTCMonth(),o+=Math.floor(r/12),r=(r%12+12)%12,e=[r+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()],o=(0>o?"-":o>9999?"+":"")+$("00000"+Math.abs(o),o>=0&&9999>=o?-4:-6),t=e.length;t--;)n=e[t],10>n&&(e[t]="0"+n);return o+"-"+V(e,0,2).join("-")+"T"+V(e,2).join(":")+"."+$("000"+this.getUTCMilliseconds(),-3)+"Z"}},Ae||je);var Ue=function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(ke).toJSON().indexOf(Re)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(e){return!1}}();Ue||(Date.prototype.toJSON=function(t){var n=o(this),r=U.ToPrimitive(n);if("number"==typeof r&&!isFinite(r))return null;var i=n.toISOString;if(!e(i))throw new TypeError("toISOString property is not callable");return i.call(n)});var Le=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),Fe=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z")),Be=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(Be||Fe||!Le){var Ve=Math.pow(2,31)-1,We=j(new Date(1970,0,1,0,0,0,Ve+1).getTime()); -
wp-editor-comments-plus/trunk/lang/wp-editor-comments-plus.pot
r1323855 r2527111 10 10 "Content-Transfer-Encoding: 8bit\n" 11 11 "PO-Revision-Date: 2013-05-10 10:37-0500\n" 12 "Last-Translator: Kentaro Fischer<email@example.com>\n"13 "Language-Team: ENGLISH < webdev@kentarofischer.com>\n"12 "Last-Translator: Neo Snc <email@example.com>\n" 13 "Language-Team: ENGLISH <neosnc1@gmail.com>\n" 14 14 "X-Generator: Poedit 1.5.5\n" 15 15 "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;" -
wp-editor-comments-plus/trunk/readme.txt
r1430214 r2527111 1 1 === WP Editor Comments Plus === 2 2 Contributors: neosnc 3 Donate link: http ://kentarofischer.com3 Donate link: https://wordpress.org/plugins/wp-editor-comments-plus/ 4 4 Tags: comments, comment, editor, ajax, tinymce, async, wysiwyg, tinymce 5 5 Requires at least: 3.5.1 -
wp-editor-comments-plus/trunk/src/js/wp-editor-comments-plus.js
r1430214 r2527111 3 3 * 4 4 * @package wp-editor-comments-plus 5 * @author Kentaro Fischer <webdev@kentarofischer.com>5 * @author Neo Snc <neosnc1@gmail.com> 6 6 * @license GPL-2.0+ 7 * @link http ://kentarofischer.com8 * @copyright 1-4-2015 Kentaro Fischer7 * @link https://wordpress.org/plugins/wp-editor-comments-plus/ 8 * @copyright 1-4-2015 Neo Snc 9 9 */ 10 10 -
wp-editor-comments-plus/trunk/uninstall.php
r1323855 r2527111 4 4 * 5 5 * @package tinymce-comments-plus 6 * @author Kentaro Fischer <webdev@kentarofischer.com>6 * @author Neo Snc <neosnc1@gmail.com> 7 7 * @license GPL-2.0+ 8 * @link http ://kentarofischer.com9 * @copyright 3-22-2015 Kentaro Fischer8 * @link https://wordpress.org/plugins/wp-editor-comments-plus/ 9 * @copyright 3-22-2015 Neo Snc 10 10 */ 11 11 -
wp-editor-comments-plus/trunk/views/admin.php
r1407891 r2527111 4 4 * 5 5 * @package wp-editor-comments-plus 6 * @author Kentaro Fischer <webdev@kentarofischer.com>6 * @author Neo Snc <neosnc1@gmail.com> 7 7 * @license GPL-2.0+ 8 * @link http ://kentarofischer.com9 * @copyright 3-22-2015 Kentaro Fischer8 * @link https://wordpress.org/plugins/wp-editor-comments-plus/ 9 * @copyright 3-22-2015 Neo Snc 10 10 */ 11 11 ?> -
wp-editor-comments-plus/trunk/views/public.php
r1323855 r2527111 7 7 * 8 8 * @package wp-editor-comments-plus 9 * @author Kentaro Fischer <webdev@kentarofischer.com>9 * @author Neo Snc <neosnc1@gmail.com> 10 10 * @license GPL-2.0+ 11 * @link http ://kentarofischer.com12 * @copyright 1-4-2015 Kentaro Fischer11 * @link https://wordpress.org/plugins/wp-editor-comments-plus/ 12 * @copyright 1-4-2015 Neo Snc 13 13 */ 14 14 ?> -
wp-editor-comments-plus/trunk/wp-editor-comments-plus.php
r1430606 r2527111 6 6 * 7 7 * @package wp-editor-comments-plus 8 * @author Kentaro Fischer <webdev@kentarofischer.com>8 * @author Neo Snc <neosnc1@gmail.com> 9 9 * @license GPL-2.0+ 10 * @link http ://kentarofischer.com11 * @copyright 4-29-2016 Kentaro Fischer10 * @link https://wordpress.org/plugins/wp-editor-comments-plus/ 11 * @copyright 4-29-2016 Neo Snc 12 12 * 13 13 * @wordpress-plugin 14 14 * Plugin Name: WP Editor Comments Plus 15 * Plugin URI: http ://kentarofischer.com15 * Plugin URI: https://wordpress.org/plugins/wp-editor-comments-plus/ 16 16 * Description: Enhance WordPress comments with the TinyMCE Editor, Inline Comment Editing and Asynchronous Posting. 17 17 * Version: 1.1.4 18 * Author: Kentaro Fischer19 * Author URI: http ://kentarofischer.com18 * Author: Neo Snc 19 * Author URI: https://wordpress.org/plugins/wp-editor-comments-plus/ 20 20 * Text Domain: wp-editor-comments-plus-locale 21 21 * License: GPL-2.0+
Note: See TracChangeset
for help on using the changeset viewer.