39 | function JqueryUiFiles_1_11_0( jqueryUi ) { |
40 | var readFile, stripJqueryUiPath, |
41 | path = require( "path" ); |
42 | |
43 | readFile = this.readFile; |
44 | stripJqueryUiPath = this.stripJqueryUiPath; |
45 | |
46 | this.commonFiles = commonFiles.map(function( path ) { |
47 | return glob( jqueryUi.path + path ).filter( noDirectory ).map( stripJqueryUiPath ).map( readFile ); |
48 | }).reduce( flatten, Files() ); |
49 | |
50 | this.componentFiles = componentFiles.map(function( path ) { |
51 | return glob( jqueryUi.path + path ).filter( noDirectory ).map( stripJqueryUiPath ).map( readFile ); |
52 | }).reduce( flatten, Files() ); |
53 | |
54 | this.i18nFiles = Files( glob( jqueryUi.path + "ui/i18n/*" ).map( stripJqueryUiPath ).map( readFile ) ); |
55 | |
56 | this.jqueryCore = Files( glob( jqueryUi.path + "external/jquery/jquery.js" ).map( stripJqueryUiPath ).map( readFile ) ); |
57 | |
58 | |
59 | this.baseThemeCss = this.get( "themes/base/theme.css" ); |
60 | } |