mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Removed console.log() calls.
This commit is contained in:
parent
030d3a010e
commit
cf4e3969f0
3 changed files with 0 additions and 5 deletions
|
|
@ -21,7 +21,6 @@ $(function() {
|
|||
var self = conversion;
|
||||
var url = "http://query.yahooapis.com/v1/public/yql?q=select%20rate%2Cname%20from%20csv%20where%20url%3D'http%3A%2F%2Fdownload.finance.yahoo.com%2Fd%2Fquotes%3Fs%3D" + conversion.from + conversion.to + "%253DX%26f%3Dl1n'%20and%20columns%3D'rate%2Cname'&format=json&diagnostics=true&callback=?";
|
||||
$.getJSON( url, function( result ) {
|
||||
console.log( "results", result );
|
||||
self.rate = parseFloat( result.query.results.row.rate );
|
||||
// TODO trigger a custom event instead of keyup?
|
||||
$( "#term" ).keyup();
|
||||
|
|
|
|||
|
|
@ -27,9 +27,6 @@ function get() {
|
|||
return JSON.parse( localStorage.getItem( "conversions" ) );
|
||||
}
|
||||
function set( value ) {
|
||||
if ( window.console && console.log ) {
|
||||
console.log( "storing conversion: "+ JSON.stringify( value ) );
|
||||
}
|
||||
localStorage.setItem( "conversions", JSON.stringify( value ) );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@
|
|||
|
||||
//consistent string escaping for urls and IDs
|
||||
function idStringEscape(str){
|
||||
console.log(str);
|
||||
return str.replace(/[^a-zA-Z0-9]/, '-');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue