use .jsbeautifyrc, add newline to all files
Esse commit está contido em:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"indent_size": 3,
|
||||
"indent_char": " ",
|
||||
"end_with_newline": true
|
||||
}
|
||||
+3
-26
@@ -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: {
|
||||
|
||||
@@ -25,4 +25,4 @@ body {
|
||||
|
||||
#content .col-md-4 > p {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -198,4 +198,4 @@ $('#button').click(jsxc.gui.showLoginBox);</pre>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -198,4 +198,4 @@ $('#button').click(jsxc.gui.showLoginBox);</pre>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -63,7 +63,8 @@
|
||||
$('.alert-success').show('slow');
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
<h3 data-i18n="Alert"></h3>
|
||||
<div class="alert alert-info">
|
||||
<strong data-i18n="Info"></strong> {{msg}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<p data-i18n="Please_allow_access_to_microphone_and_camera"></p>
|
||||
<p data-i18n="Please_allow_access_to_microphone_and_camera"></p>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -60,4 +60,4 @@
|
||||
<button class="btn btn-primary jsxc_submit" data-i18n="Compare"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -26,4 +26,4 @@
|
||||
<input type="text" class="jsxc_textinput" data-i18n="[placeholder]Message" />
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
<button class="btn btn-primary" type="submit" data-i18n="Add"></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
<strong data-i18n="Buddy_fingerprint"></strong>
|
||||
<br /> <span style="text-transform: uppercase">{{bid_priv_fingerprint}}</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -44,4 +44,4 @@
|
||||
<button class="btn btn-success jsxc_join" data-i18n="Join"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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 @@
|
||||
<p data-i18n="Please_accept_"></p>
|
||||
<p data-i18n="Please_accept_"></p>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -32,4 +32,4 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="jsxc_toggleRoster"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -101,4 +101,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -40,4 +40,4 @@
|
||||
</div>-->
|
||||
<div class="jsxc_infobar"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
<div id="jsxc_windowListSB">
|
||||
<div class="jsxc_scrollLeft jsxc_disabled"><</div>
|
||||
<div class="jsxc_scrollRight jsxc_disabled">></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário