Skip to content

Commit

Permalink
Ensure that deprecations are clearly marks
Browse files Browse the repository at this point in the history
So that we can easily remove them before we come out of beta.
  • Loading branch information
Jermolene committed Sep 10, 2014
1 parent f6ff0a7 commit 7ed1a2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/modules/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion core/ui/PageStylesheet.tid
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion core/ui/PageTemplate/story.tid
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 7ed1a2e

Please sign in to comment.