mirror of
https://github.com/documize/community.git
synced 2025-07-21 06:09:42 +02:00
JS linting
This commit is contained in:
parent
8b0bb456d9
commit
ed99b0c9f3
3 changed files with 10 additions and 15 deletions
|
@ -1,14 +1,14 @@
|
|||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// You can operate outside the AGPL restrictions by purchasing
|
||||
// Documize Enterprise Edition and obtaining a commercial license
|
||||
// by contacting <sales@documize.com>.
|
||||
// by contacting <sales@documize.com>.
|
||||
//
|
||||
// https://documize.com
|
||||
|
||||
import Component from '@ember/component';
|
||||
|
||||
export default Component.extend({});
|
||||
export default Component.extend({});
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
{{input id="orgDomain" type="text" value=domain class="form-control" placeholder="e.g. docs"}}
|
||||
<small class="form-text text-muted">If you are hosting on "docs.example.org" then the subdomain value should be set to "doc"</small>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<div class="form-group">
|
||||
<label>Public Spaces Viewable By Anonymous Users</label>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
||||
var isDevelopment = EmberApp.env() === 'development';
|
||||
// var isTest = EmberApp.env() === 'test';
|
||||
|
||||
module.exports = function (defaults) {
|
||||
var app = new EmberApp(defaults, {
|
||||
|
@ -28,6 +29,10 @@ module.exports = function (defaults) {
|
|||
}
|
||||
},
|
||||
|
||||
// autoprefixer: {
|
||||
// sourcemap: false
|
||||
// },
|
||||
|
||||
sourcemaps: {
|
||||
enabled: isDevelopment,
|
||||
extensions: ['js']
|
||||
|
@ -58,6 +63,7 @@ module.exports = function (defaults) {
|
|||
app.import('vendor/md5.js');
|
||||
app.import('vendor/moment.js');
|
||||
app.import('vendor/mousetrap.js');
|
||||
app.import('vendor/papaparse.js');
|
||||
app.import('vendor/prism.js');
|
||||
app.import('vendor/slug.js');
|
||||
app.import('vendor/sortable.js');
|
||||
|
@ -70,14 +76,3 @@ module.exports = function (defaults) {
|
|||
|
||||
return app.toTree();
|
||||
};
|
||||
|
||||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// You can operate outside the AGPL restrictions by purchasing
|
||||
// Documize Enterprise Edition and obtaining a commercial license
|
||||
// by contacting <sales@documize.com>.
|
||||
//
|
||||
// https://documize.com
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue