Skip to content

Instantly share code, notes, and snippets.

@abdollahpour
Created September 25, 2014 07:18
Show Gist options
  • Save abdollahpour/6d53261754d738ecc172 to your computer and use it in GitHub Desktop.
Save abdollahpour/6d53261754d738ecc172 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var data = {
'padded-left': ' left',
'padded-righ': 'right '};
for(var d in data) data[d] = $.trim(data[d]);
console.log(data);
</script>
<script id="jsbin-source-javascript" type="text/javascript">var data = {
'padded-left': ' left',
'padded-righ': 'right '};
for(var d in data) data[d] = $.trim(data[d]);
console.log(data);</script></body>
</html>
var data = {
'padded-left': ' left',
'padded-righ': 'right '};
for(var d in data) data[d] = $.trim(data[d]);
console.log(data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment