kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Ensure that deprecations are clearly marks
So that we can easily remove them before we come out of beta.print-window-tiddler
rodzic
f6ff0a7f71
commit
7ed1a2ebc7
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue