Пример #1
0
/**
 * Include the Simile API.
 */
function simile_queueSimileApi()
{
    // SimileAjax
    nl_appendScript(web_path_to('javascripts/dist/simile/ajax/simile-ajax-api.js') . '?bundle=true');
    // Timeline
    nl_appendScript(web_path_to('javascripts/dist/simile/js/timeline-api.js') . '?bundle=true');
}
Пример #2
0
/**
 * Include the livereload script.
 */
function nl_queueLiveReload()
{
    if (APPLICATION_ENV == 'development') {
        nl_appendScript('//localhost:35729/livereload.js');
    }
}
/**
 * Include the Google Maps API.
 */
function nl_queueGoogleMapsApi()
{
    nl_appendScript('//maps.google.com/maps/api/js?sensor=false');
}