mirror of
https://github.com/google/material-design-lite.git
synced 2024-09-11 12:25:38 +03:00
Closure styling fixes for 1.1 work
This commit is contained in:
parent
aac875fd77
commit
1bc97ebe88
@ -499,7 +499,11 @@ gulp.task('zip:mdl', function() {
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
// Returns the list of children directories inside the given directory.
|
||||
/**
|
||||
* Returns the list of children directories inside the given directory.
|
||||
* @param {string} dir the parent directory
|
||||
* @return {Array<string>} [description]
|
||||
*/
|
||||
function getSubDirectories(dir) {
|
||||
return fs.readdirSync(dir)
|
||||
.filter(function(file) {
|
||||
|
@ -423,6 +423,9 @@
|
||||
*/
|
||||
function MaterialLayoutTab(tab, tabs, panels, layout) {
|
||||
|
||||
/**
|
||||
* Auxiliary method to programmatically select a tab in the UI.
|
||||
*/
|
||||
function selectTab() {
|
||||
var href = tab.href.split('#')[1];
|
||||
var panel = layout.content_.querySelector('#' + href);
|
||||
|
Loading…
Reference in New Issue
Block a user