mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-18 11:02:57 +00:00
af5b9a9b46
We switched to our memory-wrapped store everywhere outside the VE surface, but not in the VE surface itself. Change the way we construct MemoryStorage objects so that they can be constructed from a specific mw.SafeStorage instance. Ensure MemoryStorage's cache is populated with initial storage object data, and that the cache is copied over when we create derivative objectes. Bug: T310438 Change-Id: I652428f114dc5169195887cb8ca719ae196bb76f
35 lines
654 B
JSON
35 lines
654 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client-es5",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki"
|
|
],
|
|
"globals": {
|
|
"ve": "readonly",
|
|
"RangeFix": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-implicit-globals": "off",
|
|
"max-len": "off"
|
|
},
|
|
"settings": {
|
|
"polyfills": [
|
|
"URL"
|
|
],
|
|
"jsdoc": {
|
|
"preferredTypes": {
|
|
"CommentController": "CommentController",
|
|
"CommentDetails": "CommentDetails",
|
|
"CommentItem": "CommentItem",
|
|
"DmMWPingNode": "DmMWPingNode",
|
|
"HeadingItem": "HeadingItem",
|
|
"MemoryStorage": "MemoryStorage",
|
|
"moment": "moment",
|
|
"ThreadItemSet": "ThreadItemSet",
|
|
"ThreadItem": "ThreadItem"
|
|
}
|
|
}
|
|
}
|
|
}
|