Skip to content

Commit

Permalink
use shadycss externs directly, now only 498 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Apr 18, 2017
1 parent 4e78274 commit c21a63d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
18 changes: 0 additions & 18 deletions externs/webcomponents-externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,6 @@ let HTMLImports = {

window.HTMLImports = HTMLImports;

let ShadyCSS = {
/**
* @param {!HTMLElement} element
* @param {Object=} overrides
*/
applyStyle(element, overrides){},
updateStyles(){},
/**
* @param {!HTMLTemplateElement} template
* @param {string} is
* @param {string=} extendsElement
*/
prepareTemplate(template, is, extendsElement){},
nativeCss: false,
nativeShadow: false
};
window.ShadyCSS = ShadyCSS;

let ShadyDOM = {
inUse: false,
flush(){},
Expand Down
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Log extends Transform {
}

let CLOSURE_LINT_ONLY = false;
let EXPECTED_WARNING_COUNT = 503;
let EXPECTED_WARNING_COUNT = 498;

gulp.task('closure', ['clean'], () => {

Expand Down Expand Up @@ -142,6 +142,7 @@ gulp.task('closure', ['clean'], () => {
new_type_inf: true,
checks_only: CLOSURE_LINT_ONLY,
externs: [
'bower_components/shadycss/externs/shadycss-externs.js',
'externs/webcomponents-externs.js',
'externs/polymer-externs.js',
'externs/closure-types.js',
Expand Down

0 comments on commit c21a63d

Please sign in to comment.