Skip to content

Commit

Permalink
Bug fix ampproject#1095
Browse files Browse the repository at this point in the history
  • Loading branch information
camelburrito committed Dec 9, 2015
1 parent 5320bf1 commit 8b907ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion extensions/amp-font/0.1/fontloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class FontLoader {
* @private
*/
canUseNativeApis_() {
return 'fonts' in this.document_ && false;
return 'fonts' in this.document_;
}


Expand Down
5 changes: 1 addition & 4 deletions test/integration/test-example-validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ describe('example', function() {
*/
const errorWhitelist = [
// Remove once validator supports "amp-brightcove".
/DISALLOWED_TAG amp-brightcove/,

//Remove once validator is fixed.
/MANDATORY_ATTR_MISSING shortcode or src/
/DISALLOWED_TAG amp-brightcove/
];

const usedWhitelist = [];
Expand Down

0 comments on commit 8b907ab

Please sign in to comment.