mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Last minute bug fix in StyleManager
Changes
Odd this wasn't caught in our initial specs. But this issue only effects specs, as the actual production code is able to assign the callback with a function reference rather than a string which is then used to assign the callback itself.
This commit is contained in:
parent
84608dc503
commit
31d7d8460e
@ -237,7 +237,7 @@ module.exports = class StyleManager {
|
||||
// Allows us to utilize a direct callback, or if calling from outside
|
||||
// StyleManager we can define a string that works
|
||||
if (upgradeName === "math") {
|
||||
cb = upgradeDeprecatedMathUsageForStyleSheet;
|
||||
cb = transformDeprecatedMathUsage;
|
||||
} else if (upgradeName === "selector") {
|
||||
cb = transformDeprecatedShadowDOMSelectors;
|
||||
} else if (typeof upgradeName === "function") {
|
||||
|
Loading…
Reference in New Issue
Block a user