Add missing A in constant name
This commit is contained in:
parent
96012d6523
commit
cd2041375b
2 changed files with 3 additions and 3 deletions
|
@ -267,7 +267,7 @@ class BlinkFeaturesAttribute extends WebViewAttribute {
|
||||||
// Attribute that specifies the blink features to be disabled.
|
// Attribute that specifies the blink features to be disabled.
|
||||||
class DisableBlinkFeaturesAttribute extends WebViewAttribute {
|
class DisableBlinkFeaturesAttribute extends WebViewAttribute {
|
||||||
constructor (webViewImpl) {
|
constructor (webViewImpl) {
|
||||||
super(webViewConstants.ATTRIBUTE_DISBLEBLINKFEATURES, webViewImpl)
|
super(webViewConstants.ATTRIBUTE_DISABLEBLINKFEATURES, webViewImpl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -285,7 +285,7 @@ WebViewImpl.prototype.setupWebViewAttributes = function () {
|
||||||
this.attributes[webViewConstants.ATTRIBUTE_ALLOWPOPUPS] = new BooleanAttribute(webViewConstants.ATTRIBUTE_ALLOWPOPUPS, this)
|
this.attributes[webViewConstants.ATTRIBUTE_ALLOWPOPUPS] = new BooleanAttribute(webViewConstants.ATTRIBUTE_ALLOWPOPUPS, this)
|
||||||
this.attributes[webViewConstants.ATTRIBUTE_PRELOAD] = new PreloadAttribute(this)
|
this.attributes[webViewConstants.ATTRIBUTE_PRELOAD] = new PreloadAttribute(this)
|
||||||
this.attributes[webViewConstants.ATTRIBUTE_BLINKFEATURES] = new BlinkFeaturesAttribute(this)
|
this.attributes[webViewConstants.ATTRIBUTE_BLINKFEATURES] = new BlinkFeaturesAttribute(this)
|
||||||
this.attributes[webViewConstants.ATTRIBUTE_DISBLEBLINKFEATURES] = new DisableBlinkFeaturesAttribute(this)
|
this.attributes[webViewConstants.ATTRIBUTE_DISABLEBLINKFEATURES] = new DisableBlinkFeaturesAttribute(this)
|
||||||
|
|
||||||
const autosizeAttributes = [webViewConstants.ATTRIBUTE_MAXHEIGHT, webViewConstants.ATTRIBUTE_MAXWIDTH, webViewConstants.ATTRIBUTE_MINHEIGHT, webViewConstants.ATTRIBUTE_MINWIDTH]
|
const autosizeAttributes = [webViewConstants.ATTRIBUTE_MAXHEIGHT, webViewConstants.ATTRIBUTE_MAXWIDTH, webViewConstants.ATTRIBUTE_MINHEIGHT, webViewConstants.ATTRIBUTE_MINWIDTH]
|
||||||
autosizeAttributes.forEach((attribute) => {
|
autosizeAttributes.forEach((attribute) => {
|
||||||
|
|
|
@ -16,7 +16,7 @@ module.exports = {
|
||||||
ATTRIBUTE_PRELOAD: 'preload',
|
ATTRIBUTE_PRELOAD: 'preload',
|
||||||
ATTRIBUTE_USERAGENT: 'useragent',
|
ATTRIBUTE_USERAGENT: 'useragent',
|
||||||
ATTRIBUTE_BLINKFEATURES: 'blinkfeatures',
|
ATTRIBUTE_BLINKFEATURES: 'blinkfeatures',
|
||||||
ATTRIBUTE_DISBLEBLINKFEATURES: 'disableblinkfeatures',
|
ATTRIBUTE_DISABLEBLINKFEATURES: 'disableblinkfeatures',
|
||||||
|
|
||||||
// Internal attribute.
|
// Internal attribute.
|
||||||
ATTRIBUTE_INTERNALINSTANCEID: 'internalinstanceid',
|
ATTRIBUTE_INTERNALINSTANCEID: 'internalinstanceid',
|
||||||
|
|
Loading…
Reference in a new issue