加载指定的模块。首先函数会在 package.loaded 这个表中查看是否已经加载 了 modname 这个模块。如果是,那么 require 会返回保存在 package.loaded[modname]的值。否则它将尝 试去查找一个加载该模块的加载器。require 是由 package.sea...
分类:
其他好文 时间:
2015-02-11 07:02:21
阅读次数:
148
Problem Description
You’re giving a party in the garden of your villa by the sea. The party is a huge success, and everyone is here. It’s a warm, sunny evening, and a soothing wind sends fresh, sal...
分类:
编程语言 时间:
2015-02-04 02:03:54
阅读次数:
348
玉伯,淘宝前端类库 KISSY、前端模块化开发框架SeaJS、前端基础类库Arale的创始人。本期【开源专访】我们邀请玉伯来为我们分享一些关于前端框架、前端开发的那些事,以及前端大牛是如何炼成的。在Web应用程序的用户体验越来越被重视的今天,前端开发的地位也上升到了前所未有的高度,而随之而来的也有更...
分类:
Web程序 时间:
2015-02-04 01:56:10
阅读次数:
201
因此对于JS脚本又重新研究了一下。在对新的URL编码的时候发现,网页编码的格式对于JS的影响很大,在这里书写一点
因为要新作系统,因此对于JS脚本又重新研究了一下。在对新的URL编码的时候发现,网页编码的格式对于JS的影响很大,在这里书写一点。
{var B=siteUrl+this.actionUrl+(this.type==="all"?"":this.type)+"&Sea...
分类:
Web程序 时间:
2015-01-29 09:34:09
阅读次数:
202
The Free Lunch Is OverA Fundamental Turn Toward Concurrency in SoftwareBy Herb SutterThe biggest sea change in software development since the OO revol...
分类:
其他好文 时间:
2015-01-20 23:46:36
阅读次数:
332
Sea.js 手册与文档首页|索引目录模块定义defineiddependenciesfactoryexportsrequirerequire.asyncrequire.resolverequire.loadrequire.constructormodulemodule.idmodule.depen...
分类:
Web程序 时间:
2015-01-20 20:03:49
阅读次数:
151
因为最近在学thinkphp跟着做一个小商城。没有使用thinkphp自带的think引擎,使用的是smarty引擎。在sea中使用的时候出现了问题。已经是前几天的事了,问题图片没保存下来。在网上百度了很多方法,都是一样的内容: 首先进入sae应用中的应用管理中,在服务管理中开启Memcache一个...
分类:
Web程序 时间:
2015-01-08 21:30:55
阅读次数:
276
Finding Nemo
Time Limit: 2000MS
Memory Limit: 30000K
Total Submissions: 7902
Accepted: 1827
Description
Nemo is a naughty boy. One day he went into the deep sea all...
分类:
其他好文 时间:
2015-01-08 15:25:22
阅读次数:
164
04-1. Root of AVL Tree (25)
时间限制
100 ms
内存限制
65536 kB
代码长度限制
8000 B
判题程序
Standard
作者
CHEN, Yue
An AVL tree is a self-balancing binary sea...
分类:
其他好文 时间:
2014-12-29 18:28:43
阅读次数:
193
1模块定义definedefine(function(require,exports,module){//require引入需要的模块如jquery等//var$=require(‘./jquery‘);//exports可以把方法或属性暴露给外部exports.name=‘hi‘;exports.hi=function(){alert(‘hello‘);}//module提供了模块信息});2使用定义好的模块seajs.use..
分类:
Web程序 时间:
2014-12-29 15:39:44
阅读次数:
227