Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: mojo/apps/js/test/hexdump.js

Issue 100573003: [Mojo] Move JS bindings out of public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix header guards Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/apps/js/mojo_runner_delegate.cc ('k') | mojo/apps/js/test/run_js_tests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 define(function() { 5 define(function() {
6 function hexify(value, length) { 6 function hexify(value, length) {
7 var hex = value.toString(16); 7 var hex = value.toString(16);
8 while (hex.length < length) 8 while (hex.length < length)
9 hex = "0" + hex; 9 hex = "0" + hex;
10 return hex; 10 return hex;
(...skipping 14 matching lines...) Expand all
25 if (i % 8 == 7) 25 if (i % 8 == 7)
26 dumped += " "; 26 dumped += " ";
27 } 27 }
28 return dumped; 28 return dumped;
29 } 29 }
30 30
31 var exports = {}; 31 var exports = {};
32 exports.dumpArray = dumpArray; 32 exports.dumpArray = dumpArray;
33 return exports; 33 return exports;
34 }); 34 });
OLDNEW
« no previous file with comments | « mojo/apps/js/mojo_runner_delegate.cc ('k') | mojo/apps/js/test/run_js_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698