소스 검색

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

Torkel Ödegaard 12 년 전
부모
커밋
f2f435b4cb
4개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      .gitignore
  2. 1 1
      package.json
  3. 1 1
      src/app/components/require.config.js
  4. 0 0
      src/config.sample.js

+ 1 - 1
.gitignore

@@ -2,5 +2,5 @@ node_modules
 .aws-config.json
 dist
 web.config
-config.dev.js
+config.js
 *.sublime-workspace

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
     "company": "Coding Instinct AB"
   },
   "name": "grafana",
-  "version": "1.0.4",
+  "version": "1.1.0",
   "repository": {
     "type": "git",
     "url": "http://github.com/torkelo/grafana.git"

+ 1 - 1
src/app/components/require.config.js

@@ -5,7 +5,7 @@ require.config({
   baseUrl: 'app',
   // urlArgs: 'r=@REV@',
   paths: {
-    config:                   '../config',
+    config:                   ['../config', '../config.sample'],
     settings:                 'components/settings',
     kbn:                      'components/kbn',
 

+ 0 - 0
src/config.js → src/config.sample.js