Overview
Comment: | [js] Add getIgnoreRules |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | nodejs |
Files: | files | file ages | folders |
SHA3-256: |
fc3446bfc2f81f2435aee4f51834a8b0 |
User & Date: | IllusionPerdu on 2018-10-21 14:58:01 |
Other Links: | branch diff | manifest | tags |
Context
2018-10-21
| ||
15:04 | [njs] Add *ignoreRule(s) check-in: ec3136d1bc user: IllusionPerdu tags: nodejs | |
14:58 | [js] Add getIgnoreRules check-in: fc3446bfc2 user: IllusionPerdu tags: nodejs | |
14:37 | Sync to trunk check-in: 18924f57b4 user: IllusionPerdu tags: nodejs | |
Changes
Modified gc_core/js/lang_core/gc_engine.js from [5c503d2a3c] to [3a1daff577].
︙ | ︙ | |||
89 90 91 92 93 94 95 96 97 98 99 100 101 102 | getRules: function (bParagraph) { if (!bParagraph) { return gc_rules.lSentenceRules; } return gc_rules.lParagraphRules; }, ignoreRule: function (sRuleId) { _aIgnoredRules.add(sRuleId); }, resetIgnoreRules: function () { _aIgnoredRules.clear(); | > > > > | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | getRules: function (bParagraph) { if (!bParagraph) { return gc_rules.lSentenceRules; } return gc_rules.lParagraphRules; }, getIgnoreRules: function (bParagraph) { return gc_rules._aIgnoredRules; }, ignoreRule: function (sRuleId) { _aIgnoredRules.add(sRuleId); }, resetIgnoreRules: function () { _aIgnoredRules.clear(); |
︙ | ︙ |