PATH:
home
/
letacommog
/
puissancelec
/
wp-admin
/
js
void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),function(u,d){"use strict";function s(r,s){var a=[],d=[];function c(){s.onUpdateErrorNotice&&!_.isEqual(a,d)&&(s.onUpdateErrorNotice(a,r),d=a)}function i(){var i,t=r.getOption("lint");return!!t&&(!0===t?t={}:_.isObject(t)&&(t=u.extend({},t)),t.options||(t.options={}),"javascript"===s.codemirror.mode&&s.jshint&&u.extend(t.options,s.jshint),"css"===s.codemirror.mode&&s.csslint&&u.extend(t.options,s.csslint),"htmlmixed"===s.codemirror.mode&&s.htmlhint&&(t.options.rules=u.extend({},s.htmlhint),s.jshint&&(t.options.rules.jshint=s.jshint),s.csslint&&(t.options.rules.csslint=s.csslint)),t.onUpdateLinting=(i=t.onUpdateLinting,function(t,n,e){var o=_.filter(t,function(t){return"error"===t.severity});i&&i.apply(t,n,e),_.isEqual(o,a)||(a=o,s.onChangeLintingErrors&&s.onChangeLintingErrors(o,t,n,e),(!r.state.focused||0===a.length||0<d.length)&&c())}),t)}r.setOption("lint",i()),r.on("optionChange",function(t,n){var e,o="CodeMirror-lint-markers";"lint"===n&&(e=r.getOption("gutters")||[],!0===(n=r.getOption("lint"))?(_.contains(e,o)||r.setOption("gutters",[o].concat(e)),r.setOption("lint",i())):n||r.setOption("gutters",_.without(e,o)),r.getOption("lint")?r.performLint():(a=[],c()))}),r.on("blur",c),r.on("startCompletion",function(){r.off("blur",c)}),r.on("endCompletion",function(){r.on("blur",c),_.delay(function(){r.state.focused||c()},500)}),u(document.body).on("mousedown",function(t){!r.state.focused||u.contains(r.display.wrapper,t.target)||u(t.target).hasClass("CodeMirror-hint")||c()})}d.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},d.codeEditor.initialize=function(t,n){var a,e,o,i,r=u("string"==typeof t?"#"+t:t),t=u.extend({},d.codeEditor.defaultSettings,n);return t.codemirror=u.extend({},t.codemirror),s(a=d.CodeMirror.fromTextArea(r[0],t.codemirror),t),t={settings:t,codemirror:a},a.showHint&&a.on("keyup",function(t,n){var e,o,i,r,s=/^[a-zA-Z]$/.test(n.key);a.state.completionActive&&s||"string"!==(r=a.getTokenAt(a.getCursor())).type&&"comment"!==r.type&&(i=d.CodeMirror.innerMode(a.getMode(),r.state).mode.name,o=a.doc.getLine(a.doc.getCursor().line).substr(0,a.doc.getCursor().ch),"html"===i||"xml"===i?e="<"===n.key||"/"===n.key&&"tag"===r.type||s&&"tag"===r.type||s&&"attribute"===r.type||"="===r.string&&r.state.htmlState&&r.state.htmlState.tagName:"css"===i?e=s||":"===n.key||" "===n.key&&/:\s+$/.test(o):"javascript"===i?e=s||"."===n.key:"clike"===i&&"application/x-httpd-php"===a.options.mode&&(e="keyword"===r.type||"variable"===r.type),e&&a.showHint({completeSingle:!1}))}),o=n,i=u((e=a).getTextArea()),e.on("blur",function(){i.data("next-tab-blurs",!1)}),e.on("keydown",function(t,n){27!==n.keyCode?9===n.keyCode&&i.data("next-tab-blurs")&&(n.shiftKey?o.onTabPrevious(e,n):o.onTabNext(e,n),i.data("next-tab-blurs",!1),n.preventDefault()):i.data("next-tab-blurs",!0)}),t}}(window.jQuery,window.wp);
[+]
..
[-] password-strength-meter.min.js
[edit]
[-] customize-nav-menus.min.js
[edit]
[-] editor.js
[edit]
[-] editor-expand.min.js
[edit]
[-] wp-fullscreen-stub.min.js
[edit]
[-] user-suggest.js
[edit]
[-] post.js
[edit]
[-] code-editor.min.js
[edit]
[-] wp-fullscreen-stub.js
[edit]
[-] link.min.js
[edit]
[-] language-chooser.js
[edit]
[-] nav-menu.min.js
[edit]
[-] tags-box.js
[edit]
[-] media-upload.js
[edit]
[-] code-editor.js
[edit]
[-] image-edit.min.js
[edit]
[-] iris.min.js
[edit]
[-] language-chooser.min.js
[edit]
[-] widgets.js
[edit]
[-] xfn.js
[edit]
[-] tags-box.min.js
[edit]
[-] theme-plugin-editor.min.js
[edit]
[-] svg-painter.js
[edit]
[-] svg-painter.min.js
[edit]
[-] word-count.js
[edit]
[-] color-picker.js
[edit]
[-] image-edit.js
[edit]
[-] revisions.min.js
[edit]
[-] postbox.js
[edit]
[-] media.min.js
[edit]
[-] set-post-thumbnail.min.js
[edit]
[-] nav-menu.js
[edit]
[-] set-post-thumbnail.js
[edit]
[-] updates.min.js
[edit]
[-] postbox.min.js
[edit]
[-] tags.js
[edit]
[-] gallery.min.js
[edit]
[-] comment.min.js
[edit]
[-] revisions.js
[edit]
[-] edit-comments.js
[edit]
[-] post.min.js
[edit]
[-] media-gallery.min.js
[edit]
[-] user-profile.js
[edit]
[-] widgets.min.js
[edit]
[-] customize-widgets.js
[edit]
[-] customize-widgets.min.js
[edit]
[-] media-gallery.js
[edit]
[-] custom-background.js
[edit]
[-] edit-comments.min.js
[edit]
[-] gallery.js
[edit]
[-] password-strength-meter.js
[edit]
[-] theme.min.js
[edit]
[-] inline-edit-post.min.js
[edit]
[-] theme.js
[edit]
[-] accordion.js
[edit]
[-] color-picker.min.js
[edit]
[-] editor.min.js
[edit]
[-] inline-edit-tax.min.js
[edit]
[-] media-upload.min.js
[edit]
[-] media.js
[edit]
[-] common.min.js
[edit]
[-] editor-expand.js
[edit]
[-] tags.min.js
[edit]
[-] dashboard.js
[edit]
[-] plugin-install.js
[edit]
[-] farbtastic.js
[edit]
[-] theme-plugin-editor.js
[edit]
[-] inline-edit-tax.js
[edit]
[-] inline-edit-post.js
[edit]
[-] user-profile.min.js
[edit]
[-] customize-controls.js
[edit]
[-] customize-nav-menus.js
[edit]
[-] plugin-install.min.js
[edit]
[-] word-count.min.js
[edit]
[-] dashboard.min.js
[edit]
[-] custom-background.min.js
[edit]
[-] comment.js
[edit]
[-] accordion.min.js
[edit]
[-] common.js
[edit]
[-] tags-suggest.min.js
[edit]
[-] custom-header.js
[edit]
[-] updates.js
[edit]
[+]
widgets
[-] xfn.min.js
[edit]
[-] tags-suggest.js
[edit]
[-] link.js
[edit]
[-] user-suggest.min.js
[edit]
[-] customize-controls.min.js
[edit]