nl_tokens: Send a JSONP request .
pl_tokens: function jsonp ( opts , cb ) { opts = opts || { } ; if ( typeof <mask> === 'undefined' ) { // FUTURE: refactor node usage to live in here return cb ( ) ; } var scriptEl = document . createElement ( 'script' ) ; window . _sailsIoJSConnect = function ( response ) { // In rare circumstances our script may have been vaporised. // Remove it, but only if it still exists // https://github.com/balderdashy/sails.io.js/issues/92 if ( scriptEl && scriptEl . parentNode ) { scriptEl . parentNode . removeChild ( scriptEl ) ; } cb ( response ) ; } ; scriptEl . src = opts . url ; document . getElementsByTagName ( 'head' ) [ 0 ] . appendChild ( scriptEl ) ; }