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

Side by Side Diff: chrome/browser/resources/shared/js/i18n_template.js

Issue 10836296: [webui] mark 2 files as deprecated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months 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 | « no previous file | chrome/browser/resources/shared/js/local_strings.js » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 /** 5 /**
6 * NOTE: The use of this file is deprecated. Use i18n_template2.js instead.
7 *
6 * @fileoverview This is a simple template engine inspired by JsTemplates 8 * @fileoverview This is a simple template engine inspired by JsTemplates
7 * optimized for i18n. 9 * optimized for i18n.
8 * 10 *
9 * It currently supports two handlers: 11 * It currently supports two handlers:
10 * 12 *
11 * * i18n-content which sets the textContent of the element 13 * * i18n-content which sets the textContent of the element
12 * 14 *
13 * <span i18n-content="myContent"></span> 15 * <span i18n-content="myContent"></span>
14 * i18nTemplate.process(element, {'myContent': 'Content'}); 16 * i18nTemplate.process(element, {'myContent': 'Content'});
15 * 17 *
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 handlers[name](element, att, obj); 113 handlers[name](element, att, obj);
112 } 114 }
113 } 115 }
114 } 116 }
115 } 117 }
116 118
117 return { 119 return {
118 process: process 120 process: process
119 }; 121 };
120 })(); 122 })();
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/shared/js/local_strings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698