內容簡介
讓使用者在全域設定中建立自定義 JavaScript,應用於 WordPress 網站。
透過外掛製作的 JavaScript 會在其他外掛和/或主題使用的 JavaScript 之後載入。
外掛功能:
此外掛包含以下功能:
語法突出顯示
代碼壓縮
修訂版本
將代碼區塊分組
包含相依性(如 jQuery 和 backbone.js 等庫)
優雅的編輯器介面,由 ACE 提供
未來的新增功能:
以下是隨著外掛成長,未來可能添加的一些功能 🙂:
能夠從 minify 函式庫中選擇您的喜好壓縮器
能夠載入不同的 JavaScript 檔案,供外掛使用者決定每個頁面/文章
能夠保存其他 JavaScript 檔案並建立選項卡以組織檔案
一個單獨的按鈕,可完全從伺服器刪除 JavaScript 檔案
鳴謝
此外掛使用由 Steve Clay([email protected])和 Ryan Grove([email protected])開發的 minify 函式庫套件。
更多資訊,請參閱 http://code.google.com/p/minify/
外掛標籤
開發者團隊
原文外掛簡介
Allows the user to create custom javascript for their WordPress powered site on a global level.
The Javascript made by the user of the plugin will be loaded after any other Javascript that is used by other plugins and/or themes.
PLUGIN FEATURES:
Some of the features that are included in this plugin are:
syntax highlighting
code minification
revisions
grouping blocks of code
including dependencies (libraries such as jQuery and backbone.js)
elegant editor interface courtesy of ACE
FUTURE ADDITIONS:
Here are some of the things that I will be adding sometime in the future as the plugin grows 🙂 :
ability to choose your minifier of choice from the minify library
ability to load different javascript files for each page/post as decided by the plugin user
ability to save additional javascript files and create tabs to organize the files
a separate button to completely delete the javascript files from the server
Acknowledgements
This plugin uses the minify library package by Steve Clay ([email protected]) and Ryan Grove ([email protected]).
More info at http://code.google.com/p/minify/
