Permalink
Browse files

Updating ignores.

  • Loading branch information...
1 parent 27f6808 commit 0ceaa143e0a50df146bab82b546ad2a6cc22cca3 @efeminella committed Mar 24, 2012
Showing with 33 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 build/build.js
  3. +3 −0 deploy/README.md
  4. +7 −0 deploy/build.txt
  5. +14 −0 deploy/index.html
  6. +1 −0 deploy/src/css/application.css
  7. +4 −0 deploy/src/main.js
  8. +1 −0 deploy/src/require.js
  9. +1 −1 src/main.js
View
@@ -1 +1,2 @@
.project
+deploy
View
@@ -19,7 +19,7 @@ var config = {
console.log( contents );
// perform transformations on the original source
- contents = contents.replace( /@version/i, new Date().toString() );
+ contents = contents.replace( /#version/i, new Date().toString() );
// output modified source
console.log( contents );
View
@@ -0,0 +1,3 @@
+### An example which demonstrates implementing a basic preprocessor using the RequireJS optimization tool.
+
+[Original Article](http://www.ericfeminella.com/blog/2012/03/24/preprocessing-modules-with-requirejs-optimizer/)
View
@@ -0,0 +1,7 @@
+
+src/main.js
+----------------
+src/app/module.a.js
+src/app/module.b.js
+src/app/module.c.js
+src/main.js
View
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>RequireJS Optimizer Preprocessor Example</title>
+
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
+ <meta name="apple-mobile-web-app-capable" content="yes" />
+ <link href="src/css/application.css" rel="stylesheet" type="text/css" />
+ <script data-main="src/main" src="src/require.js"></script>
+ </head>
+ <body>
+ <h1 id="message"></h1>
+ </body>
+</html>
Oops, something went wrong.
View
Oops, something went wrong.
Oops, something went wrong.
View
@@ -1,5 +1,5 @@
/*!
- * @version
+ * #version
*/
require.config( {
paths : {

0 comments on commit 0ceaa14

Please sign in to comment.