Skip to content

Commit

Permalink
Follow the submodule update
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrocky committed May 9, 2024
1 parent ae1dd62 commit d411733
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/js/pbList.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ var pbList_startWebFontDetection = function(){
p_webFontTest(
/** @type {!function(number):void} */ (pbList_onWebFontDetectionComplete),
COMMON_WEBFONT__FONT_NAME,
COMMON_WEBFONT__CLASSNAME_TEST_RENDERING, // 3.
[
webFontTest_IS_WOFF2, p_assetUrl + COMMON_ASSET_DIR_TO_WEBFONT_DIR + '/woff2.css',
webFontTest_IS_WOFF , p_assetUrl + COMMON_ASSET_DIR_TO_WEBFONT_DIR + '/woff.css',
Expand All @@ -60,7 +59,7 @@ var pbList_startWebFontDetection = function(){
webFontTest_IS_EOT , p_assetUrl + COMMON_ASSET_DIR_TO_WEBFONT_DIR + '/eot.css',
webFontTest_IS_SVG , p_assetUrl + COMMON_ASSET_DIR_TO_WEBFONT_DIR + '/svg.css'
],
COMMON_WEBFONT__ID_AND_CLASSNAME_TEST_CSS_READY, // 5.
COMMON_WEBFONT__ID_AND_CLASSNAME_TEST_CSS_READY,
LIGATURE_MINUS_1, HOMOGLYPH_MINUS_1
);
};
Expand Down
6 changes: 0 additions & 6 deletions src/scss/pbFont/pbFont.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
@if( $OPTION_USE_PBFONT ){
@if( $COMMON_WEBFONT__CLASSNAME_TEST_RENDERING != "" ){
.#{$COMMON_WEBFONT__CLASSNAME_TEST_RENDERING} {
@include web-font-detector;
}
}

@include web-font-face($COMMON_WEBFONT__FONT_NAME, $ASSET_PATH_WEBFONT + $COMMON_WEBFONT__FILE_STEM, $COMMON_WEBFONT__SVG_FONT_ID, $COMMON_WEBFONT__TEST_ID_AND_CLASSNAME);

.pbFont {
Expand Down

0 comments on commit d411733

Please sign in to comment.