This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
import { getTrustedMarkdownProcessor } from '@utils/markdown'; | |
export type Props = { | |
content: string; | |
path?: string; | |
}; | |
const html = await (await getTrustedMarkdownProcessor()).process({ | |
path: Astro.props.path, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/popup.ts b/src/popup.ts | |
index ca9d850..1272482 100644 | |
--- a/src/popup.ts | |
+++ b/src/popup.ts | |
@@ -449,6 +449,39 @@ function renderDefinitions(entry: WordResult, options: PopupOptions) { | |
if (entry.s.length === 1) { | |
definitionsDiv.append(renderSense(entry.s[0], options)); | |
} else { | |
+ // Extract any misc labels that apply to the whole set of definitions | |
+ let commonMisc = entry.s[0].misc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/popup.ts b/src/popup.ts | |
index ca9d850..12b70da 100644 | |
--- a/src/popup.ts | |
+++ b/src/popup.ts | |
@@ -1,4 +1,8 @@ | |
-import { KanjiResult, NameTranslation } from '@birchill/hikibiki-data'; | |
+import { | |
+ KanjiResult, | |
+ MiscType, | |
+ NameTranslation, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<meta charset=utf-8> | |
<style> | |
div { | |
width: 200px; | |
height: 200px; | |
background: orange; | |
} | |
</style> | |
<div id=div></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<meta charset=utf-8> | |
<title>Notes example</title> | |
<script src="https://unpkg.com/react@%5E16.5.0/umd/react.development.js"></script> | |
<script src="https://unpkg.com/react-dom@%5E16.5.0/umd/react-dom.development.js"></script> | |
<script src="https://unpkg.com/prop-types@%5E15.6/prop-types.js"></script> | |
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | |
<style> | |
:root { | |
--yellow-background: hsl(54, 100%, 90.2%); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# Parent 994a8d6eccbcdc6106794705bd77e3ac5f031be2 | |
diff --git a/dom/animation/Animation.cpp b/dom/animation/Animation.cpp | |
--- a/dom/animation/Animation.cpp | |
+++ b/dom/animation/Animation.cpp | |
@@ -391,11 +391,11 @@ Animation::SetPlaybackRate(double aPlayb | |
} | |
// https://drafts.csswg.org/web-animations/#seamlessly-update-the-playback-rate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/web-animations-1/Overview.bs b/web-animations-1/Overview.bs | |
index 6cd09d76d..6f866485a 100644 | |
--- a/web-animations-1/Overview.bs | |
+++ b/web-animations-1/Overview.bs | |
@@ -305,7 +305,7 @@ elem.getAnimations().filter( | |
) | |
).forEach(animation => { | |
animation.currentTime = 0; | |
- animation.playbackRate = 0.5; | |
+ animation.updatePlaybackRate(0.5); |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* automatically generated by rust-bindgen */ | |
pub use self::root::*; | |
pub use self::root::mozilla::*; | |
pub use self::root::mozilla::css::*; | |
pub use self::root::mozilla::dom::*; | |
use atomic_refcell::AtomicRefCell; | |
use data::ElementData; | |
pub type ServoUnsafeCell<T> = ::std::cell::UnsafeCell<T>; | |
pub type ServoCell<T> = ::std::cell::Cell<T>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# Parent 95a3304b348929f76b694b27a64b1528f6dd3d35 | |
diff --git a/dom/animation/Animation.h b/dom/animation/Animation.h | |
--- a/dom/animation/Animation.h | |
+++ b/dom/animation/Animation.h | |
@@ -15,6 +15,7 @@ | |
#include "mozilla/EffectCompositor.h" // For EffectCompositor::CascadeLevel | |
#include "mozilla/LinkedList.h" | |
#include "mozilla/TimeStamp.h" // for TimeStamp, TimeDuration |
NewerOlder