Identation of javascript

Bèr Kessels - May 22, 2007 - 12:33
Project:widgEditor - A WYSIWYG editor
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Bèr Kessels
Status:won't fix
Description

Some minor whitespace fixes for the inline generated JS. Makes the code a tad more readable.

AttachmentSize
widgeditor.994.js_identation.patch2.66 KB

#1

David Lesieur - May 22, 2007 - 17:17
Title:Identation of javaschript» Identation of javascript
Status:needs review» reviewed & tested by the community

True, it's a bit more readable. Just tested it, code still works. :-) +1

#2

David Lesieur - May 22, 2007 - 17:29
Status:reviewed & tested by the community» needs review

In fact, the indentation still needed some improvements.

#3

David Lesieur - May 22, 2007 - 17:30

Oops, forgot the patch.

AttachmentSize
widgeditor_js_indentation.patch 2.94 KB

#4

Gurpartap Singh - July 15, 2007 - 14:03
Status:needs review» won't fix

The indentation is actually made more readable in the output, although it might not be worth :p

 
 

Drupal is a registered trademark of Dries Buytaert.