use .jsbeautifyrc, add newline to all files

Esse commit está contido em:
sualko
2015-06-26 18:21:12 +02:00
commit e70904b99d
28 arquivos alterados com 35 adições e 52 exclusões
+5
Ver Arquivo
@@ -0,0 +1,5 @@
{
"indent_size": 3,
"indent_char": " ",
"end_with_newline": true
}
+3 -26
Ver Arquivo
@@ -257,32 +257,9 @@ module.exports = function(grunt) {
}
},
jsbeautifier: {
jsxc: {
src: ['Gruntfile.js', 'src/jsxc.lib.*', 'template/*.html'],
options: {
js: {
indentSize: 3,
endWithNewline: true
},
html: {
indentSize: 3
}
}
},
example: {
src: ['example/*.html', 'example/js/dev.js', 'example/js/example.js', 'example/css/example.css'],
options: {
js: {
indentSize: 3,
endWithNewline: true
},
html: {
indentSize: 3
},
css: {
indentSize: 3
}
}
files: ['Gruntfile.js', 'src/jsxc.lib.*', 'template/*.html', 'example/*.html', 'example/js/dev.js', 'example/js/example.js', 'example/css/example.css'],
options: {
config: '.jsbeautifyrc'
}
},
prettysass: {
+1 -1
Ver Arquivo
@@ -25,4 +25,4 @@ body {
#content .col-md-4 > p {
margin-bottom: 30px;
}
}
+1 -1
Ver Arquivo
@@ -198,4 +198,4 @@ $('#button').click(jsxc.gui.showLoginBox);</pre>
</div>
</body>
</html>
</html>
+1 -1
Ver Arquivo
@@ -198,4 +198,4 @@ $('#button').click(jsxc.gui.showLoginBox);</pre>
</div>
</body>
</html>
</html>
+2 -1
Ver Arquivo
@@ -63,7 +63,8 @@
$('.alert-success').show('slow');
});
});
</script>
</body>
</html>
</html>
+1 -1
Ver Arquivo
@@ -18,4 +18,4 @@
< $ dep.libraries $>
</p>
<button class="btn btn-default pull-right jsxc_debuglog">Show debug log</button>
<button class="btn btn-default pull-right jsxc_debuglog">Show debug log</button>
+1 -1
Ver Arquivo
@@ -1,4 +1,4 @@
<h3 data-i18n="Alert"></h3>
<div class="alert alert-info">
<strong data-i18n="Info"></strong> {{msg}}
</div>
</div>
+1 -1
Ver Arquivo
@@ -1 +1 @@
<p data-i18n="Please_allow_access_to_microphone_and_camera"></p>
<p data-i18n="Please_allow_access_to_microphone_and_camera"></p>
+1 -1
Ver Arquivo
@@ -4,4 +4,4 @@
</p>
<button class="btn btn-primary jsxc_approve pull-right" data-i18n="Approve"></button>
<button class="btn btn-default jsxc_deny pull-right" data-i18n="Deny"></button>
<button class="btn btn-default jsxc_deny pull-right" data-i18n="Deny"></button>
+1 -1
Ver Arquivo
@@ -2,4 +2,4 @@
<p data-i18n="Sorry_we_cant_authentikate_"></p>
<button class="btn btn-primary jsxc_retry pull-right" data-i18n="Continue_without_chat"></button>
<button class="btn btn-default jsxc_cancel pull-right" data-i18n="Retry"></button>
<button class="btn btn-default jsxc_cancel pull-right" data-i18n="Retry"></button>
+1 -1
Ver Arquivo
@@ -60,4 +60,4 @@
<button class="btn btn-primary jsxc_submit" data-i18n="Compare"></button>
</div>
</div>
</div>
</div>
+1 -1
Ver Arquivo
@@ -26,4 +26,4 @@
<input type="text" class="jsxc_textinput" data-i18n="[placeholder]Message" />
</div>
</div>
</li>
</li>
+1 -1
Ver Arquivo
@@ -1,4 +1,4 @@
<p>{{msg}}</p>
<button class="btn btn-primary jsxc_confirm pull-right" data-i18n="Confirm"></button>
<button class="btn btn-default jsxc_dismiss jsxc_close pull-right" data-i18n="Dismiss"></button>
<button class="btn btn-default jsxc_dismiss jsxc_close pull-right" data-i18n="Dismiss"></button>
+1 -1
Ver Arquivo
@@ -20,4 +20,4 @@
<button class="btn btn-primary" type="submit" data-i18n="Add"></button>
</div>
</div>
</form>
</form>
+1 -1
Ver Arquivo
@@ -8,4 +8,4 @@
<strong data-i18n="Buddy_fingerprint"></strong>
<br /> <span style="text-transform: uppercase">{{bid_priv_fingerprint}}</span>
</p>
</div>
</div>
+1 -1
Ver Arquivo
@@ -4,4 +4,4 @@
</p>
<button class="btn btn-primary jsxc_accept pull-right" data-i18n="Accept"></button>
<button class="btn btn-default jsxc_reject pull-right" data-i18n="Reject"></button>
<button class="btn btn-default jsxc_reject pull-right" data-i18n="Reject"></button>
+1 -1
Ver Arquivo
@@ -44,4 +44,4 @@
<button class="btn btn-success jsxc_join" data-i18n="Join"></button>
</div>
</div>
</div>
</div>
+1 -1
Ver Arquivo
@@ -13,4 +13,4 @@
<button type="reset" class="jsxc_btn jsxc_close" name="clear" data-i18n="Cancel" />
<button type="submit" class="jsxc_btn jsxc_btn-primary" name="commit" data-i18n="[data-jsxc-loading-text]Connecting...;Connect" />
</div>
</form>
</form>
+1 -1
Ver Arquivo
@@ -1 +1 @@
<p data-i18n="Please_accept_"></p>
<p data-i18n="Please_accept_"></p>
+1 -1
Ver Arquivo
@@ -2,4 +2,4 @@
<p class="jsxc_maxWidth" data-i18n="[html]You_are_about_to_remove_"></p>
<button class="btn btn-primary jsxc_remove pull-right" data-i18n="Remove"></button>
<button class="btn btn-default jsxc_cancel jsxc_close pull-right" data-i18n="Cancel"></button>
<button class="btn btn-default jsxc_cancel jsxc_close pull-right" data-i18n="Cancel"></button>
+1 -1
Ver Arquivo
@@ -32,4 +32,4 @@
</div>
</div>
<div id="jsxc_toggleRoster"></div>
</div>
</div>
+1 -1
Ver Arquivo
@@ -10,4 +10,4 @@
<div class="jsxc_chaticon" data-i18n="[title]send_message" />
<div class="jsxc_vcardicon" data-i18n="[title]get_info">i</div>
</div>
</li>
</li>
+1 -1
Ver Arquivo
@@ -101,4 +101,4 @@
</div>
</div>
</fieldset>
</form>
</form>
+1 -1
Ver Arquivo
@@ -4,4 +4,4 @@
<ul class="jsxc_vCard"></ul>
<p>
<img src="{{root}}/img/loading.gif" alt="wait" width="32px" height="32px" /> <span data-i18n="Please_wait"></span>...
</p>
</p>
+1 -1
Ver Arquivo
@@ -40,4 +40,4 @@
</div>-->
<div class="jsxc_infobar"></div>
</div>
</div>
</div>
+1 -1
Ver Arquivo
@@ -3,4 +3,4 @@
<div class="progress">
<div class="progress-bar progress-bar-striped active" style="width: 100%" data-i18n="Please_wait">
</div>
</div>
</div>
+1 -1
Ver Arquivo
@@ -4,4 +4,4 @@
<div id="jsxc_windowListSB">
<div class="jsxc_scrollLeft jsxc_disabled">&lt;</div>
<div class="jsxc_scrollRight jsxc_disabled">&gt;</div>
</div>
</div>