Permalink
Browse files

minor formatting changes

  • Loading branch information...
1 parent 9f60ec4 commit d9059e70564620c2c813dc0c93791e1b83901c00 @brianjlandau brianjlandau committed Dec 3, 2009
@@ -49,7 +49,7 @@
<script type="text/javascript">
$(document).ready(function(){
var output = $('#output');
- $.benchmarks = {};
+ $.benchmarks = {};
$.benchmarks.test_simple = function(){
$('#info-tmpl').jqote({
@@ -73,6 +73,7 @@
$('#comment-tmpl').jqote(data).appendTo(output);
};
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
});
@@ -24,8 +24,8 @@
<script type="text/javascript">
$(document).ready(function(){
- var output = $('#output');
- $.benchmarks = {};
+ var output = $('#output');
+ $.benchmarks = {};
$.benchmarks.test_simple = function(){
var story_tmp = $.template('<div class="test"><h2>This is a test of ${name}</h2><p>The homepage is <a href="${url}">${url}</a>.</p><p>The sources is: ${source}</p></div>');
@@ -53,6 +53,7 @@
}
};
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
});
@@ -85,6 +85,7 @@
output.append(html);
};
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
// $.benchmark(1000, '#compiled_test', $.benchmarks.compiled_test);
@@ -25,7 +25,7 @@
<script type="text/javascript">
$(document).ready(function(){
var output = $('#output');
- $.benchmarks = {};
+ $.benchmarks = {};
$.benchmarks.test_simple = function(){
var story_tmp = '<div class="test"><h2>This is a test of {{name}}</h2><p>The homepage is <a href="{{url}}">{{url}}</a>.</p><p>The sources is: {{source}}</p></div>';
@@ -52,6 +52,7 @@
output.append($.mustache(comment_tmp, comment_view));
};
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
});
View
@@ -52,6 +52,7 @@
}
};
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
});
@@ -53,6 +53,7 @@
output_div.append($.srender(comment_tmp, data));
};
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
});
@@ -62,6 +62,7 @@
}));
};
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
// $.benchmark(1000, '#compiled_test', $.benchmarks.compiled_test);
@@ -63,6 +63,7 @@
}));
}
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
// $.benchmark(1000, '#compiled_test', $.benchmarks.compiled_test);
@@ -73,6 +73,7 @@
output.append(html);
};
+ // use these lines to run the benchmark tests in your browsers JS console
// $.benchmark(1000, '#simple_test', $.benchmarks.test_simple);
// $.benchmark(1000, '#loop_test', $.benchmarks.loop_test);
});

0 comments on commit d9059e7

Please sign in to comment.