Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Better
Builder
Commits
f4dc8533
Verified
Commit
f4dc8533
authored
Sep 25, 2018
by
Aral Balkan
Browse files
Remove content not cached check
parent
5ed00aa0
Changes
1
Show whitespace changes
Inline
Side-by-side
Blockdown.coffee
View file @
f4dc8533
...
...
@@ -150,7 +150,7 @@ class Blockdown
if
(
fileName
.
indexOf
'/templates/'
)
!=
-
1
# This is a template, check if it has changed
if
lastModifiedDate
!=
themeCacheCurrentModifiedTimes
[
fileName
]
#
There are changes to a theme template, do not use the cache.
#
There are changes to a theme template, do not use the cache.
@
log
.
info
"
\t
✓ Theme template changed (
#{
fileName
}
), *not* using cache."
@
useContentCache
=
false
break
...
...
@@ -703,9 +703,9 @@ Better is a Safari content blocker for <a href='https://itunes.apple.com/us/app/
#
saveBlockerListJSON
:
(
dataDirectory
)
=>
if
@
contentHasNotChanged
console
.
log
(
"
\t
✓ Content has not changed. Not saving blocker list JSON or its metadata file."
)
return
Promise
.
resolve
()
#
if @contentHasNotChanged
#
console.log("\t✓ Content has not changed. Not saving blocker list JSON or its metadata file.")
#
return Promise.resolve()
#
# Content has changed. Save the blocker list and metadata files.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment