-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-add: method register_js to class-easy_settings_api.php -add: method enqueue_js to class-easy_settings_api.php -change: settings-array in sac_demo.php -add: folder js -add: demo_js.js to /js -add: alert.js to /js
- Loading branch information
1 parent
1c97231
commit 18935af
Showing
4 changed files
with
142 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** | ||
* Second demo JavaScript for Easy Settings API Class | ||
*/ | ||
|
||
alert( 'Second JavaScript demo was loaded' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* Demo JavaScript for Easy Settings API Class | ||
*/ | ||
|
||
jQuery(document).ready(function($){ | ||
console.log('JavaScript was loaded'); | ||
//alert('JavaScript was loaded'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters