File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 338338 sourceCache : { } ,
339339
340340 /**
341- * @return the text from a given URL
341+ * @return { String } the text from a given URL
342342 */
343343 ajax : function ( url ) {
344344 var req = this . createXMLHTTPObject ( ) ;
359359 /**
360360 * Try XHR methods in order and store XHR factory.
361361 *
362- * @return <Function> XHR function or equivalent
362+ * @return { XMLHttpRequest } XHR function or equivalent
363363 */
364364 createXMLHTTPObject : function ( ) {
365365 var xmlhttp , XMLHttpFactories = [
388388 * Given a URL, check if it is in the same domain (so we can get the source
389389 * via Ajax).
390390 *
391- * @param url < String> source url
392- * @return < Boolean> False if we need a cross-domain request
391+ * @param url { String} source url
392+ * @return { Boolean } False if we need a cross-domain request
393393 */
394394 isSameDomain : function ( url ) {
395395 return typeof location !== "undefined" && url . indexOf ( location . hostname ) !== - 1 ; // location may not be defined, e.g. when running from nodejs.
398398 /**
399399 * Get source code from given URL if in the same domain.
400400 *
401- * @param url < String> JS source URL
402- * @return < Array> Array of source code lines
401+ * @param url { String} JS source URL
402+ * @return { Array } Array of source code lines
403403 */
404404 getSource : function ( url ) {
405405 // TODO reuse source from script tags?
Original file line number Diff line number Diff line change 102102< script >
103103 document . getElementById ( "userAgent" ) . innerHTML = navigator . userAgent ;
104104</ script >
105- < textarea id ="info "> Info </ textarea >
105+ < textarea id ="info " placeholder =" Data extracted from Error object " > </ textarea >
106106< br />
107107< button onclick ="dumpExceptionError(); " title ="new Error() "> Exception 1</ button >
108108< button onclick ="dumpExceptionAnonymous(); " title ="Stack with anonymous function "> Exception 2</ button >
You can’t perform that action at this time.
0 commit comments