| 31 | } |
| 32 | |
| 33 | bool ECMAScriptInterface::canHandleFile(const QFileInfo& fileInfo) const |
| 34 | { |
| 35 | if (fileInfo.suffix() != QStringLiteral("es") && fileInfo.suffix() != QStringLiteral("js")) { |
| 36 | return false; |
| 37 | } |
| 38 | return true; |
| 39 | } |
| 40 | |
| 41 | } // namespace Scripting |
| 42 | } // namespace Tw |