Permalink
Browse files

Updating javaScript, bringing the plugin's source code up to WordPres…

…s' coding conventions, and removing constants.
  • Loading branch information...
1 parent fb6c7b2 commit a1ec8ed84b47ebb76699b01ec74f2519d91ecda2 @tommcfarlin tommcfarlin committed Mar 6, 2012
Showing with 10 additions and 6 deletions.
  1. +3 −3 README.txt
  2. +3 −1 js/admin.js
  3. +3 −1 js/display.js
  4. +1 −1 plugin.php
View
@@ -1,9 +1,9 @@
-=== Plugin Name ===
+=== Widget Name ===
Contributors: username1, username2 (this should be a list of wordpress.org userid's)
Donate link: http://example.com/
Tags: comments, spam
-Requires at least: 2.0.2
-Tested up to: 2.1
+Requires at least: 3.3.1
+Tested up to: 3.3.1
Stable tag: 4.3
Here is a short description of the plugin. This should be no more than 150 characters. No markup here.
View
@@ -1,3 +1,5 @@
(function($) {
- // Place your administration-specific code here
+ $(function() {
+ // Place your administration-specific JavaScript here
+ });
})(jQuery);
View
@@ -1,3 +1,5 @@
(function($) {
- // Place your public facing JavaScript here
+ $(function() {
+ // Place your public-facing JavaScript here
+ });
})(jQuery);
View
@@ -9,7 +9,7 @@
Author Email: TODO
License:
- Copyright 2011 TODO (email@domain.com)
+ Copyright 2012 TODO (email@domain.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as

0 comments on commit a1ec8ed

Please sign in to comment.