大家都搜:
本地存储
1、expire localstorage───本地存储器
1、The loadLocal function takes a keyword, as this is used to find the relevant tweets in the localStorage cache.───loadLocal 函数接受一个 keyword 作为参数,该关键词也被用于在 localStorage 高速缓存中寻找相关 tweet。
2、If localStorage is supported, then first check to see if the tweet is already stored.───如果localStorage受到支持,那么首先进行检查,看这个tweet是否已经存储。
3、Next, you attempt to load existing tweets from localStorage.───接下来,试图从localStorage加载现有tweets。
4、It makes specific use of HTML5 to deliver components like audio and video, as well as a localStorage proxy for saving data offline.───它使用了HTML5的某些特性,交付的组件包括音、视频处理,还有本地存储代理,以离线保存数据。
5、You start by getting the total number of items stored in localStorage and then iterating over them.───您首先得到存储在localStorage中的条目的总数,然后再迭代这些条目。
6、This can be very useful for debugging applications that use localStorage.───这对于调试使用localStorage的应用程序非常有用。
7、To begin with, look at how to use localStorage to store the tweets locally.───首先来看如何使用 localStorage 来本地存储 tweet。
8、The two objects share the same API, so I shall focus on localStorage only.───两个对象共享相同的API,所以我将只着重介绍localStorage。
9、So if you only have to worry about those browsers, then localStorage is a viable option.───因此如果只担心浏览器的话,localStorage 将是一个可用的选项。