文件容器用于将不同语言存储在一个文件中的文件格式解析器: $ ( '.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();