aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/caches/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/caches/index.html')
-rw-r--r--files/ru/web/api/caches/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/api/caches/index.html b/files/ru/web/api/caches/index.html
index a6a19b6b1c..d67b99be17 100644
--- a/files/ru/web/api/caches/index.html
+++ b/files/ru/web/api/caches/index.html
@@ -12,7 +12,7 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/caches
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate">var <em>myCacheStorage</em> = self.caches; // or just caches
+<pre class="syntaxbox">var <em>myCacheStorage</em> = self.caches; // or just caches
</pre>
<h3 id="Значение">Значение</h3>
@@ -23,7 +23,7 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/caches
<p>Данный пример показывает как надо использовать кеш в контексте <a href="/en-US/docs/Web/API/Service_Worker_API">service worker</a> для хранения в автономном режиме</p>
-<pre class="brush: js notranslate">this.addEventListener('install', function(event) {
+<pre class="brush: js">this.addEventListener('install', function(event) {
event.waitUntil(
caches.open('v1').then(function(cache) {
return cache.addAll([