summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qdoc/jscodemarker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qdoc/jscodemarker.cpp b/src/qdoc/jscodemarker.cpp
index b3c675d5b..0e1eb2267 100644
--- a/src/qdoc/jscodemarker.cpp
+++ b/src/qdoc/jscodemarker.cpp
@@ -78,16 +78,16 @@ bool JsCodeMarker::recognizeCode(const QString &code)
*/
bool JsCodeMarker::recognizeExtension(const QString &ext)
{
- return ext == "js" || ext == "json";
+ return ext == "js";
}
/*!
- Returns \c true if the \a language is recognized. We recognize JavaScript,
- ECMAScript and JSON.
+ Returns \c true if the \a language is recognized. We recognize JavaScript and
+ ECMAScript.
*/
bool JsCodeMarker::recognizeLanguage(const QString &language)
{
- return language == "JavaScript" || language == "ECMAScript" || language == "JSON";
+ return language == "JavaScript" || language == "ECMAScript";
}
/*!