Permalink
Browse files

修改root和清理目录

  • Loading branch information...
1 parent 81540be commit 201e4b711164593541465baf370b73f9abcceafa @afc163 afc163 committed Nov 7, 2012
Showing with 35 additions and 386 deletions.
  1. +10 −0 Makefile
  2. +2 −0 README.md
  3. +5 −7 dist/base-debug.js
  4. +1 −1 dist/base.js
  5. +0 −96 docs/aspect.html
  6. +3 −1 docs/aspect.md
  7. +0 −135 docs/attribute.html
  8. +3 −1 docs/attribute.md
  9. +0 −129 index.html
  10. +11 −2 package.json
  11. +0 −14 tests/runner.html
View
@@ -0,0 +1,10 @@
+build:
+ liquidluck build -v -s $(HOME)/.liquidluck-themes/arale2/settings.yml
+
+debug:
+ liquidluck server -d -s $(HOME)/.liquidluck-themes/arale2/settings.yml
+
+server:
+ liquidluck server -s $(HOME)/.liquidluck-themes/arale2/settings.yml
+
+
View
@@ -1,6 +1,8 @@
# Base
+---
+
Base 是一个基础类,提供 Class、Events、Attribute 和 Aspect 支持。
---
View
@@ -1,4 +1,4 @@
-define("#base/1.0.1/aspect-debug", [], function(require, exports) {
+define("arale/base/1.0.1/aspect-debug", [], function(require, exports) {
// Aspect
// ---------------------
@@ -69,8 +69,7 @@ define("#base/1.0.1/aspect-debug", [], function(require, exports) {
});
-
-define("#base/1.0.1/attribute-debug", [], function(require, exports) {
+define("arale/base/1.0.1/attribute-debug", [], function(require, exports) {
// Attribute
// -----------------
@@ -529,15 +528,14 @@ define("#base/1.0.1/attribute-debug", [], function(require, exports) {
});
-
-define("#base/1.0.1/base-debug", ["./aspect-debug", "./attribute-debug", "#class/1.0.0/class-debug", "#events/1.0.0/events-debug"], function(require, exports, module) {
+define("arale/base/1.0.1/base-debug", ["./aspect-debug", "./attribute-debug", "arale/class/1.0.0/class-debug", "arale/events/1.0.0/events-debug"], function(require, exports, module) {
// Base
// ---------
// Base 是一个基础类,提供 Class、Events、Attrs 和 Aspect 支持。
- var Class = require('#class/1.0.0/class-debug');
- var Events = require('#events/1.0.0/events-debug');
+ var Class = require('arale/class/1.0.0/class-debug');
+ var Events = require('arale/events/1.0.0/events-debug');
var Aspect = require('./aspect-debug');
var Attribute = require('./attribute-debug');
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,96 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
- <title>Base - Aspect 使用文档</title><link rel="stylesheet" href="http://alipay.github.com/liquidluck-theme-arale/assets/app.min.css">
- <link rel="shortcut icon" href="http://alipay.github.com/liquidluck-theme-arale/assets/favicon.ico" type="image/x-icon" />
- <script src="http://seajs.org/dist/sea.js"></script>
- <script src="http://alipay.github.com/liquidluck-theme-arale/tools/arale-helper.js"></script>
- <!--[if lt IE 9]>
- <script src="http://alipay.github.com/liquidluck-theme-arale/assets/html5shiv.js"></script>
- <![endif]-->
- </head>
- <body>
- <header id="header">
- <div class="container">
- <a title="Home" class="icon-home" href="/" id="logo">Arale</a>
- <div class="wrapper fn-clear">
-
- <nav class="global-nav" role="navigation">
- <ul class="fn-clear">
- <li class="developer-guides"><a href="/developer-guides/">开发指南</a></li>
- <li class="user-guides"><a href="/components/">组件文档</a> • <a style="padding-left:0;" href="/mapping.html">Map</a></li>
- </ul>
- </nav>
- <nav class="top-nav" role="navigation">
- <ul class="fn-clear">
- <li class="first"><a target="_blank" href="http://seajs.org">SeaJS</a></li>
- <li class="last"><a target="_blank" href="https://github.com/seajs/spm/wiki">SPM</a></li>
- </ul>
- </nav>
-
- </div>
- </div>
- </header>
-
- <div id="main">
- <div class="container fn-clear">
-<div class="markdown-body">
- <h1 class="entry-title"><a id="back-to-module" href="../">Base</a> - Aspect 使用文档</h1>
- <blockquote>
-<p>使用 Aspect,可以允许你在指定方法执行的前后插入特定函数。</p>
-</blockquote>
-
-<h2 id="toc_0">使用说明</h2>
-<p>基于 <code>Base.extend</code> 创建的类,会自动添加上 <code>Aspect</code> 提供的功能。</p>
-
-<h3 id="toc_1">before <code>object.before(methodName, callback, [context])</code></h3>
-<p>在 <code>object[methodName]</code> 方法执行前,先执行 <code>callback</code> 函数。</p>
-<div class="highlight"><pre><span class="kd">var</span> <span class="nx">Dialog</span> <span class="o">=</span> <span class="nx">Base</span><span class="p">.</span><span class="nx">extend</span><span class="p">({</span>
- <span class="p">...</span>
-
- <span class="nx">show</span><span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
- <span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="mi">2</span><span class="p">);</span>
- <span class="k">this</span><span class="p">.</span><span class="nx">element</span><span class="p">.</span><span class="nx">show</span><span class="p">();</span>
- <span class="p">},</span>
-
- <span class="p">...</span>
-<span class="p">});</span>
-
-<span class="kd">var</span> <span class="nx">dialog</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">Dialog</span><span class="p">({</span> <span class="p">...</span> <span class="p">});</span>
-
-<span class="nx">dialog</span><span class="p">.</span><span class="nx">before</span><span class="p">(</span><span class="s1">&#39;show&#39;</span><span class="p">,</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
- <span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="mi">1</span><span class="p">);</span>
-<span class="p">});</span>
-
-<span class="nx">dialog</span><span class="p">.</span><span class="nx">after</span><span class="p">(</span><span class="s1">&#39;show&#39;</span><span class="p">,</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
- <span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="mi">3</span><span class="p">);</span>
-<span class="p">});</span>
-
-<span class="nx">dialog</span><span class="p">.</span><span class="nx">show</span><span class="p">();</span> <span class="c1">// ==&gt; 1, 2, 3</span>
-</pre></div>
-<p><code>callback</code> 函数在执行时,接收的参数与传给 <code>object[methodName]</code> 参数相同。如果传入了
-<code>context</code> 参数,则 <code>callback</code> 里的 <code>this</code> 指向 <code>context</code>。</p>
-<p><strong>注</strong>:目前不支持用 <code>return false</code> 来停止往下执行。</p>
-
-<h3 id="toc_2">after <code>object.after(methodName, callback, [context])</code></h3>
-<p>在 <code>object[methodName]</code> 方法执行后,再执行 <code>callback</code> 函数。</p>
-<p><code>callback</code> 函数在执行时,接收的参数是 <code>object[methodName]</code> 执行完成后的返回值。如果传入了
-<code>context</code> 参数,则 <code>callback</code> 里的 <code>this</code> 指向 <code>context</code>。</p>
-
-</div>
-<div class="sidebar sidebar-components"></div>
- </div>
- </div>
-
- <footer id="footer">
- <div class="container">
- <div class="copyright">
- <p>&copy; 2012 aralejs.org</p>
- <p>除非另有声明,本站所有代码遵循 MIT 协议</p>
- </div>
- </div>
- </footer>
- </body>
-</html>
View
@@ -5,7 +5,9 @@
---
-> 使用 Aspect,可以允许你在指定方法执行的前后插入特定函数。
+使用 Aspect,可以允许你在指定方法执行的前后插入特定函数。
+
+---
## 使用说明
Oops, something went wrong.

0 comments on commit 201e4b7

Please sign in to comment.