Some of the features that are included in this plugin are:
grouping blocks of code
including dependencies (libraries such as jQuery and backbone.js)
elegant editor interface courtesy of ACE
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
This plugin uses the minify library package by Steve Clay (firstname.lastname@example.org) and Ryan Grove (email@example.com).
More info at http://code.google.com/p/minify/
- Activate the plugin through the ‘Plugins’ menu in the WordPress admin dashboard.
- Navigate to the ‘Appearance’ tab in the WordPress admin dashboard sidebar.
- What does the plugin do?
- How much experience do I need to use this plugin?
- Does it do anything to the database?
Yes. This plugin allows the use of revisions and will add entries to the database in the posts table. The database is accessed using WordPress and PHP core functions and there are no direct SQL queries.
- Does the plugin access the filesystem?
Yes. This plugin will save and delete files to the filesystem. The files will be located in the uploads folder under the sub-folder “global-js” on a default WordPress installation.
- Does the plugin work in a multisite configuration?
Yes. The plugin works in a multisite environment as it creates files and folders in the site’s own portion of the uploads directory.
There are no reviews for this plugin.
Contributors & Developers
v.1.0 – release version
v0.16 – dependencies such as jQuery are now included in the plugin
– the current libraries can be included by ticking the checkbox in the editor
– included a function call to clear cache on save if supercache is enabled
* Julien’s note: if you want to change which minifier to use go to the filter function in the code
v0.14 – plugin no longer does anything on activation and deactivation (not necessary to)
– no longer creates a separate directory
– changed the way older files are deleted
v0.13 – changed the behavior of the deactivate function. (does not depend on the host being UNIX based)
– added a recursive function that handles removing directories and the contents inside the directories
v0.12 – added 2 additional hooks that will add and delete directories upon activation or deactivation respectively
– defined the uninstall function though at the moment nothing calls it (need to do additional testing and research before enabling it)
v0.11 – added a conditional to check if WP_DEBUG is set to true
* no other additional changes to the plugin if in debug mode
v0.10.3 – cleaned up some of the code as well as changing the editor name to be more descriptive and similar to plugin name
v0.10.2 – fixed a bug where previously uploaded files are not deleted
v0.10.1 – fixed a bug where single line comments were not being replaced
v0.10 – added a regex replacer to prepare for minification in next release
– added additional saving that utilizes unix timestamping to prep for future loading method
v0.9.1 – fixed a bug where files were not being saved properly using the new method
– fixed a bug where the redirect was giving a permissions error
* previous method of saving was producing unintended results
* new method still requires some testing on multisites
* new method involves the use of the wp_filesystem
– changed the way the paths work
* this new method should work regardless of what the parent directory is called
– current handling of saving needs to be updated; may be security issues
v0.7 – changed the code to a class instead
v0.6.1 – fixed some typos
v0.5 – added stylesheets to the editor
– changed the names of some style class tags inside codemirror.js
v0.1 – core code created from the improved simpler css plugin by CTLT