Changed name off config.js to config.sample.js to make it easier to upgrade with having to worry about config being overwwritten, if there is no config.js file config.sample.js will be read instead (requirejs fallback). Closes #65

This commit is contained in:
Torkel Ödegaard
2014-02-06 17:10:25 +01:00
parent 0015f81645
commit f2f435b4cb
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,5 +2,5 @@ node_modules
.aws-config.json .aws-config.json
dist dist
web.config web.config
config.dev.js config.js
*.sublime-workspace *.sublime-workspace
+1 -1
View File
@@ -4,7 +4,7 @@
"company": "Coding Instinct AB" "company": "Coding Instinct AB"
}, },
"name": "grafana", "name": "grafana",
"version": "1.0.4", "version": "1.1.0",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "http://github.com/torkelo/grafana.git" "url": "http://github.com/torkelo/grafana.git"
+1 -1
View File
@@ -5,7 +5,7 @@ require.config({
baseUrl: 'app', baseUrl: 'app',
// urlArgs: 'r=@REV@', // urlArgs: 'r=@REV@',
paths: { paths: {
config: '../config', config: ['../config', '../config.sample'],
settings: 'components/settings', settings: 'components/settings',
kbn: 'components/kbn', kbn: 'components/kbn',