mirror of
https://github.com/documize/community.git
synced 2025-08-09 15:35:27 +02:00
Merge branch 'master' into github-extension
This commit is contained in:
commit
ede91fa58a
5 changed files with 149 additions and 139 deletions
|
@ -1,12 +1,17 @@
|
||||||
{
|
{
|
||||||
"css": {
|
"css": {
|
||||||
"indent_size": 4,
|
"indent_size": 4,
|
||||||
"allowed_file_extensions": ["css", "scss", "sass", "less"]
|
"indent_level": 0,
|
||||||
|
"indent_with_tabs": true,
|
||||||
|
"allowed_file_extensions": ["css", "scss", "sass", "less"],
|
||||||
|
"max_preserve_newlines": 2
|
||||||
},
|
},
|
||||||
"html": {
|
"html": {
|
||||||
"indent_size": 4,
|
"indent_size": 4,
|
||||||
"indent_char": " ",
|
"indent_level": 0,
|
||||||
|
"indent_with_tabs": true,
|
||||||
"preserve_newlines": true,
|
"preserve_newlines": true,
|
||||||
|
"max_preserve_newlines": 2,
|
||||||
"wrap_line_length": 0,
|
"wrap_line_length": 0,
|
||||||
"indent_handlebars": true,
|
"indent_handlebars": true,
|
||||||
"indent_inner_html": false,
|
"indent_inner_html": false,
|
||||||
|
@ -14,34 +19,39 @@
|
||||||
},
|
},
|
||||||
"hbs": {
|
"hbs": {
|
||||||
"indent_size": 4,
|
"indent_size": 4,
|
||||||
"indent_char": " ",
|
"indent_level": 0,
|
||||||
|
"indent_with_tabs": true,
|
||||||
|
"max_preserve_newlines": 2,
|
||||||
"preserve_newlines": true,
|
"preserve_newlines": true,
|
||||||
"wrap_line_length": 0
|
"wrap_line_length": 0
|
||||||
},
|
},
|
||||||
"js": {
|
"js": {
|
||||||
"indent_size": 4,
|
"indent_size": 4,
|
||||||
"indent_char": " ",
|
"indent_level": 0,
|
||||||
|
"indent_with_tabs": true,
|
||||||
"preserve_newlines": true,
|
"preserve_newlines": true,
|
||||||
"wrap_line_length": 0,
|
"wrap_line_length": 0,
|
||||||
"break_chained_methods": false,
|
"break_chained_methods": false,
|
||||||
"indent_with_tabs": false,
|
|
||||||
"max_preserve_newlines": 2,
|
"max_preserve_newlines": 2,
|
||||||
"jslint_happy": true,
|
"jslint_happy": true,
|
||||||
"brace_style": "collapse-preserve-inline",
|
"brace_style": "collapse-preserve-inline",
|
||||||
"space_after_anon_function": false,
|
|
||||||
"keep_function_indentation": false,
|
"keep_function_indentation": false,
|
||||||
"space_before_conditional": true
|
"space_after_anon_function": false,
|
||||||
|
"space_before_conditional": true,
|
||||||
|
"space_in_empty_paren": false,
|
||||||
|
"space_in_paren": false
|
||||||
},
|
},
|
||||||
"sql": {
|
"sql": {
|
||||||
"indent_size": 4,
|
"indent_size": 4,
|
||||||
"indent_char": " ",
|
|
||||||
"indent_level": 0,
|
"indent_level": 0,
|
||||||
"indent_with_tabs": false
|
"indent_with_tabs": true
|
||||||
},
|
},
|
||||||
"_default": {
|
"_default": {
|
||||||
"indent_size": 4,
|
"indent_size": 4,
|
||||||
"indent_char": " ",
|
"indent_level": 0,
|
||||||
|
"indent_with_tabs": true,
|
||||||
"preserve_newlines": true,
|
"preserve_newlines": true,
|
||||||
|
"max_preserve_newlines": 2,
|
||||||
"wrap_line_length": 0
|
"wrap_line_length": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -20,11 +20,11 @@ export default Ember.Component.extend({
|
||||||
|
|
||||||
didRender() {
|
didRender() {
|
||||||
let self = this;
|
let self = this;
|
||||||
Mousetrap.bind('esc', function() {
|
Mousetrap.bind('esc', function () {
|
||||||
self.send('onCancel');
|
self.send('onCancel');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
Mousetrap.bind(['ctrl+s', 'command+s'], function() {
|
Mousetrap.bind(['ctrl+s', 'command+s'], function () {
|
||||||
self.send('onAction');
|
self.send('onAction');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
{{content-for 'head'}}
|
{{content-for 'head'}}
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
@ -15,9 +15,9 @@
|
||||||
<link rel="icon" type="image/png" href="/favicon-32x32.png?v=1.1" sizes="32x32" />
|
<link rel="icon" type="image/png" href="/favicon-32x32.png?v=1.1" sizes="32x32" />
|
||||||
<link rel="stylesheet" href="assets/vendor.css">
|
<link rel="stylesheet" href="assets/vendor.css">
|
||||||
<link rel="stylesheet" href="assets/documize.css"> {{content-for 'head-footer'}}
|
<link rel="stylesheet" href="assets/documize.css"> {{content-for 'head-footer'}}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
{{content-for 'body'}}
|
{{content-for 'body'}}
|
||||||
<script src="assets/vendor.js"></script>
|
<script src="assets/vendor.js"></script>
|
||||||
<script src="assets/documize.js"></script>
|
<script src="assets/documize.js"></script>
|
||||||
|
@ -27,6 +27,6 @@
|
||||||
<script src="codemirror/addon/runmode/runmode.js"></script>
|
<script src="codemirror/addon/runmode/runmode.js"></script>
|
||||||
<script src="codemirror/addon/runmode/colorize.js"></script>
|
<script src="codemirror/addon/runmode/colorize.js"></script>
|
||||||
{{content-for 'body-footer'}}
|
{{content-for 'body-footer'}}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -30,7 +30,7 @@ const (
|
||||||
// AppVersion does what it says
|
// AppVersion does what it says
|
||||||
// Versioning scheme major.minor where "minor" is optional
|
// Versioning scheme major.minor where "minor" is optional
|
||||||
// e.g. 1, 2, 3, 4.1, 4.2, 5, 6, 7, 7.1, 8, 9, 10, ..... 127, 127.1, 128
|
// e.g. 1, 2, 3, 4.1, 4.2, 5, 6, 7, 7.1, 8, 9, 10, ..... 127, 127.1, 128
|
||||||
AppVersion = "12.9"
|
AppVersion = "13.1"
|
||||||
)
|
)
|
||||||
|
|
||||||
var port, certFile, keyFile, forcePort2SSL string
|
var port, certFile, keyFile, forcePort2SSL string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue