Skip to content

Commit

Permalink
some works that dont actually work xD
Browse files Browse the repository at this point in the history
  • Loading branch information
rlidwka committed Apr 3, 2012
1 parent 7f5f833 commit 83c9b92
Show file tree
Hide file tree
Showing 23 changed files with 343 additions and 134 deletions.
8 changes: 8 additions & 0 deletions bin/asset
@@ -0,0 +1,8 @@
#!/usr/bin/env node

var path = require('path');
var fs = require('fs');
var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');

require(lib + '/asset');

2 changes: 2 additions & 0 deletions bin/test.html.ejs
@@ -0,0 +1,2 @@

<%=asset_include("./asset")%>
10 changes: 1 addition & 9 deletions index.js
@@ -1,11 +1,3 @@

var cs_installed = false;
try {
require('coffee-script');
cs_installed = true;
} catch(err) {
module.exports = require('./lib/index');
}

if (cs_installed) module.exports = require('./src/index');
module.exports = require('./lib/index');

73 changes: 73 additions & 0 deletions lib/asset.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/cssimport.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 3 additions & 44 deletions lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/inlines.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 60 additions & 14 deletions lib/pipeline.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions lib/plugins.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83c9b92

Please sign in to comment.