Ensure that deprecations are clearly marks

So that we can easily remove them before we come out of beta.
print-window-tiddler
Jermolene 2014-09-10 09:20:43 +01:00
rodzic f6ff0a7f71
commit 7ed1a2ebc7
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -70,7 +70,7 @@ function parseFilterOperation(operators,filterString,p) {
rexMatch = rex.exec(filterString.substring(p));
if(rexMatch) {
operator.regexp = new RegExp(rexMatch[1], rexMatch[2]);
// Deprecation warning
// DEPRECATION WARNING
console.log("WARNING: Filter",operator.operator,"has a deprecated regexp operand",operator.regexp);
nextBracketPos = p + rex.lastIndex - 1;
}

Wyświetl plik

@ -2,7 +2,7 @@ title: $:/core/ui/PageStylesheet
<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/stylesheet]!has[draft.of]]">
<!-- DEPRECATION WARNING --><$list filter="[all[shadows+tiddlers]tag[$:/tags/stylesheet]!has[draft.of]]">
<$transclude mode="block"/>
</$list>

Wyświetl plik

@ -5,7 +5,7 @@ tags: $:/tags/PageTemplate
<$list filter="[all[shadows+tiddlers]tag[$:/tags/stylesheet]!has[draft.of]]">
WARNING: tag "$:/tags/stylesheet" on <$link><$view field="title"/></$link> should be replaced with "$:/tags/Stylesheet"
<!-- DEPRECATION WARNING -->WARNING: tag "$:/tags/stylesheet" on <$link><$view field="title"/></$link> should be replaced with "$:/tags/Stylesheet"
</$list>