Changeset 1404
- Timestamp:
- 03/16/2015 09:29:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/js/central.js
r1107 r1404 2 2 3 3 // templateOptions is copied from Core in order to avoid an extra HTTP request just to get wp.template 4 var ajaxURL,4 var options, 5 5 templateOptions = { 6 6 evaluate: /<#([\s\S]+?)#>/g, … … 12 12 * Initialization that runs as soon as this file has loaded 13 13 */ 14 function immediateInit( options ) {15 ajaxURL = options.ajaxURL;14 function immediateInit( initOptions ) { 15 options = initOptions; 16 16 17 17 toggleNavigation(); … … 67 67 function populateLatestTweets() { 68 68 $.getJSON( 69 ajaxURL,69 options.ajaxURL, 70 70 { action: 'get_latest_wordcamp_tweets' }, 71 71 function( response ) {
Note: See TracChangeset
for help on using the changeset viewer.