1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 06:09:42 +02:00

JS linting

This commit is contained in:
Harvey Kandola 2019-03-01 14:25:32 +00:00
parent 8b0bb456d9
commit ed99b0c9f3
3 changed files with 10 additions and 15 deletions

View file

@ -28,7 +28,7 @@
{{input id="orgDomain" type="text" value=domain class="form-control" placeholder="e.g. docs"}} {{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> <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> </div>
{{/if}} {{/if}}
<div class="form-group"> <div class="form-group">
<label>Public Spaces Viewable By Anonymous Users</label> <label>Public Spaces Viewable By Anonymous Users</label>

View file

@ -2,6 +2,7 @@
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var isDevelopment = EmberApp.env() === 'development'; var isDevelopment = EmberApp.env() === 'development';
// var isTest = EmberApp.env() === 'test';
module.exports = function (defaults) { module.exports = function (defaults) {
var app = new EmberApp(defaults, { var app = new EmberApp(defaults, {
@ -28,6 +29,10 @@ module.exports = function (defaults) {
} }
}, },
// autoprefixer: {
// sourcemap: false
// },
sourcemaps: { sourcemaps: {
enabled: isDevelopment, enabled: isDevelopment,
extensions: ['js'] extensions: ['js']
@ -58,6 +63,7 @@ module.exports = function (defaults) {
app.import('vendor/md5.js'); app.import('vendor/md5.js');
app.import('vendor/moment.js'); app.import('vendor/moment.js');
app.import('vendor/mousetrap.js'); app.import('vendor/mousetrap.js');
app.import('vendor/papaparse.js');
app.import('vendor/prism.js'); app.import('vendor/prism.js');
app.import('vendor/slug.js'); app.import('vendor/slug.js');
app.import('vendor/sortable.js'); app.import('vendor/sortable.js');
@ -70,14 +76,3 @@ module.exports = function (defaults) {
return app.toTree(); 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