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

Unified Diff: Source/devtools/front_end/JavaScriptFormatter.js

Issue 18347003: DevTools: Implement CSS pretty-printing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/JavaScriptFormatter.js
diff --git a/Source/devtools/front_end/JavaScriptFormatter.js b/Source/devtools/front_end/JavaScriptFormatter.js
index 9536289dd7376b40add3eb58fba400b490f3a8ad..b4131a234e65c67eb989f459b3f4049aa16ba32e 100644
--- a/Source/devtools/front_end/JavaScriptFormatter.js
+++ b/Source/devtools/front_end/JavaScriptFormatter.js
@@ -28,7 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-function FormattedContentBuilder(content, mapping, originalOffset, formattedOffset, indentString)
+function JavaScriptFormattedContentBuilder(content, mapping, originalOffset, formattedOffset, indentString)
{
this._originalContent = content;
this._originalOffset = originalOffset;
@@ -47,7 +47,7 @@ function FormattedContentBuilder(content, mapping, originalOffset, formattedOffs
this._cachedIndents = {};
}
-FormattedContentBuilder.prototype = {
+JavaScriptFormattedContentBuilder.prototype = {
addToken: function(token)
{
for (var i = 0; i < token.comments_before.length; ++i)

Powered by Google App Engine
This is Rietveld 408576698