flymis/WebRoot/dojojs/src/storage.js
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
/**
FIXME: Write better docs.
@author Brad Neuberg, bkn3@columbia.edu
*/
dojo.provide("dojo.storage");
dojo.require("dojo.lang.*");
dojo.require("dojo.event.*");
// create an empty "StorageProvider", which was being created as a side-effect
// of the erroneous dojo.provide("dojo.storage.StorageProvider")
dojo.storage.StorageProvider = {}
/** The base class for all storage providers. */
/**
The constructor for a storage provider. You should avoid initialization
in the constructor; instead, define initialization in your initialize()
method.
*/
dojo.declare("dojo.storage", null, {
/** A put() call to a storage provider was succesful. */
SUCCESS: "success",
/** A put() call to a storage provider failed. */
FAILED: "failed",
/** A put() call to a storage provider is pending user approval. */
PENDING: "pending",
/**
Returned by getMaximumSize() if this storage provider can not determine
the maximum amount of data it can support.
*/
SIZE_NOT_AVAILABLE: "Size not available",
/**
Returned by getMaximumSize() if this storage provider has no theoretical
limit on the amount of data it can store.
*/
SIZE_NO_LIMIT: "No size limit",
/**
The namespace for all storage operations. This is useful if several
applications want access to the storage system from the same domain but
want different storage silos.
*/
"namespace": "dojoStorage",
后面还有 304 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。