[
https://issues.apache.org/jira/browse/COUCHDB-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526694#comment-14526694
]
ASF GitHub Bot commented on COUCHDB-2678:
-----------------------------------------
GitHub user benkeen opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/396
Open up require's config.js file to be extended
This PR separates the content of the /app/config.js file into
a different file so scripts that extend Fauxton can choose to
load it first, then add/override whatever additional settings
it needs.
Note: this PR doesn't include a test because there's nothing really
that can be tested. If it didn't work at all, nothing would work
at all.
Closes COUCHDB-2678
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benkeen/couchdb-fauxton extending-config-file
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/396.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #396
----
commit 3ff8816de7b66bd1a01283020da264a4ea4c4835
Author: Ben Keen <[email protected]>
Date: 2015-05-04T14:44:39Z
Open up require's config.js file to be extended
This PR separates the content of the /app/config.js file into
a different file so scripts that extend Fauxton can choose to
load it first, then add/override whatever additional settings
it needs.
Note: this PR doesn't include a test because there's nothing really
that can be tested. If it didn't work at all, nothing would work
at all.
Closes COUCHDB-2678
----
> Open up require's config.js file to be extended
> -----------------------------------------------
>
> Key: COUCHDB-2678
> URL: https://issues.apache.org/jira/browse/COUCHDB-2678
> Project: CouchDB
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: Fauxton
> Reporter: Ben Keen
> Assignee: Ben Keen
>
> The core/config.js file defines a few things for the require.js environment
> such as convenient path maps and *shims* - dependencies between JS modules to
> ensure one module is always loaded first. This is extremely useful and should
> be opened up to be extended by anyone basing code on Fauxton.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)