Skip to content

Commit

Permalink
Merge pull request ampproject#1115 from sriramkrish85/fontbug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sriram Krishnan committed Dec 9, 2015
2 parents 5320bf1 + 8b907ab commit 1acf8b0
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 1acf8b0

Please sign in to comment.