Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

File Container Build Status

Parser for file format to store different languages in one file:

$('.signup').click(function () {
    app.showSignup();
});

sass:
  .signup
    background: green
    color: white

haml:
  %a.signup( href="#signup" )
    Signup
var parser  = require('file-container');
var control = parser(code);

control.main //=> $('.signup').click(function () {
             //=>     app.showSignup();
             //=> });
control.sass //=> .signup
             //=>   background: green
             //=>   color: white
control.haml //=> %a.signup( href="#signup" )
             //=>   Signup
Sponsored by Evil Martians

About

Store different languages in one source file

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.