aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2014-12-30 09:51:45 -0700
committerbors-servo <metajack+bors@gmail.com>2014-12-30 09:51:45 -0700
commit37a97f3273c442fa59a3f65e8300a2527b004036 (patch)
treef67474e5acdb9ac4aab021ea5b082cee3607e74c /components/script/dom/blob.rs
parent5d8ec549597de4af1008ee1395f89adbcf40fdb8 (diff)
parentbb577968e5063c48cd534f2f3fc1f2fba1be26de (diff)
downloadservo-37a97f3273c442fa59a3f65e8300a2527b004036.tar.gz
servo-37a97f3273c442fa59a3f65e8300a2527b004036.zip
auto merge of #4515 : brunoabinader/servo/codegen-cleanup, r=Ms2ger
Main changes: - Whitespace (indent) fixes; - CGIndent-related fixes; - Removed consecutive empty lines; - Removed empty lines before closing brackets; - Codegen style fixes; Tests: We don't have a static code style analyzer yet, so I've checked using the following (together with manual lookup at some selected generated bindings): 1. Check for lines with wrong indentation (1 to 3 whitespaces at the beginning) Command: ```$ pcregrep -r "^[ ]{1,3}[^ ]" components/script/dom/bindings/codegen/Bindings``` Expected: None Actual: None 2. Check for lines with wrong indentation (5 to 7 whitespaces at the beginning) Command: ```$ pcregrep -r "^[ ]{5,7}[^ ]" components/script/dom/bindings/codegen/Bindings``` Expected: None Actual: None 3. Check for lonely semicolons Command: ```$ pcregrep -r " \{0,\};" components/script/dom/bindings/codegen/Bindings``` Expected: None Actual: None 4. Check for empty lines before closing brackets Command: ```$ pcregrep -r -M "^$\n {0,}\}" components/script/dom/bindings/codegen/Bindings``` Expected: None Actual: None 5. Check for consecutive empty lines Command: ```$ pcregrep -r -M "^$\n^$\n" components/script/dom/bindings/codegen/Bindings``` Expected: None Actual: ```components/script/dom/bindings/codegen/Bindings/ChildNodeBinding.rs components/script/dom/bindings/codegen/Bindings/ElementCSSInlineStyleBinding.rs components/script/dom/bindings/codegen/Bindings/ParentNodeBinding.rs components/script/dom/bindings/codegen/Bindings/URLUtilsBinding.rs components/script/dom/bindings/codegen/Bindings/URLUtilsReadOnlyBinding.rs ``` All of the above are ```[NoInterfaceObject]```, thus providing only imports. We shouldn’t, however, generate empty lines (investigate this later on).
Diffstat (limited to 'components/script/dom/blob.rs')
0 files changed, 0 insertions, 0 deletions