Browse Source

README: remove .min

Herbert Vojčík 9 years ago
parent
commit
7060c54d25
1 changed files with 12 additions and 12 deletions
  1. 12 12
      README.md

+ 12 - 12
README.md

@@ -20,12 +20,12 @@ object per component, that is, if the project has this structure:
   . <root>
   +-+ bower_components/
   | +-+ jquery/
-  | | `-- jquery.min.js
+  | | `-- jquery.js
   | +-+ codemirror/
-  | | +-- codemirror.min.css
-  | | `-- codemirror.min.js
+  | | +-- codemirror.css
+  | | `-- codemirror.js
   | `-+ require-css/
-  |   `-- require-css.min.js
+  |   `-- require-css.js
   +-- lib/
   | `-- ... some files
   `-- distinct-part/
@@ -52,7 +52,7 @@ These files would be added:
 //<root>/jquery.amd.json
 {
   "paths": {
-    "jquery": "jquery.min"
+    "jquery": "jquery"
   }
 }
 ```
@@ -61,7 +61,7 @@ These files would be added:
 //<root>/require-css.amd.json
 {
   "paths": {
-    "css": "require-css.min"
+    "css": "require-css"
   }
 }
 ```
@@ -73,7 +73,7 @@ These files would be added:
     "codemirror": "."
   },
   "shim": {
-    "codemirror/codemirror.min": [ "jquery", "css!codemirror/codemirror.min" ]
+    "codemirror/codemirror": [ "jquery", "css!codemirror/codemirror" ]
   }
 }
 ```
@@ -86,7 +86,7 @@ These files would be added:
     "my-distinct": "."
   },
   "shim": {
-    "my-distinct/vendor/foo": [ "codemirror/codemirror.min" ]
+    "my-distinct/vendor/foo": [ "codemirror/codemirror" ]
   }
 }
 ```
@@ -107,12 +107,12 @@ require.config({
     "my-app": "lib",
     "my-distinct": "distinct-part",
     "codemirror": "bower_components/codemirror",
-    "jquery": "bower_components/jquery/jquery.min",
-    "css": "bower_components/require-css/require-css.min"
+    "jquery": "bower_components/jquery/jquery",
+    "css": "bower_components/require-css/require-css"
   },
   shim: {
-    "my-distinct/vendor/foo": [ "codemirror/codemirror.min" ],
-    "codemirror/codemirror.min": [ "jquery", "css!codemirror/codemirror.min" ]
+    "my-distinct/vendor/foo": {"deps": ["codemirror/codemirror"]},
+    "codemirror/codemirror": {"deps": ["jquery", "css!codemirror/codemirror"]}
   }
 });
 ```