Commit graph

3 commits

Author SHA1 Message Date
Timo Tijhof 10d0a248bf Override supportsURLLoading() instead of getScriptURLsForDebug()
This is more semantically correct and avoid duplicating the
url logic in an extension.

This was the only FileModule subclasses I found that overrode
getScriptURLsForDebug for this purpose.

Change-Id: Id940067437be190760559ec452583347c6b94901
2018-11-28 00:57:37 +00:00
Kunal Mehta 27b6687848 Use wfMakeStaticArrayFile()
wfMakeStaticArrayFile() expects an associative array, so let's take this
opportunity to turn the lexer list into one with true as the value. This
allows us to use isset() instead of the slower in_array() when checking
to see if a lexer is known.

Bug: T200626
Change-Id: I7a852ddbcfa7c8ed19ac933205cabd176b20d0cb
2018-07-28 21:29:57 -07:00
Kunal Mehta 141455aa33 Move classes into includes/
Change-Id: Ie26b5be1bb2551ed339fdb4a587a89823c609b2e
2018-02-15 14:29:07 -08:00
Renamed from ResourceLoaderSyntaxHighlightVisualEditorModule.php (Browse further)