Skip to content

Commit

Permalink
change root
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore committed Nov 7, 2012
1 parent 3c03c2d commit 4885c18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/position-debug.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define("#position/1.0.0/position-debug", ["$-debug"], function(require, exports) {
define("arale/position/1.0.0/position-debug", ["$-debug"], function(require, exports) {

// Position
// --------
Expand Down Expand Up @@ -155,7 +155,7 @@ define("#position/1.0.0/position-debug", ["$-debug"], function(require, exports)
// 将百分比转为像素值
if (x.indexOf('%') !== -1) {
//支持小数
x = x.replace(/(\d+\.?\d+)%/gi, function(m, d) {
x = x.replace(/(\d+(?:\.\d+)?)%/gi, function(m, d) {
return pinObject.size()[type] * (d / 100.0);
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/position.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "position",
"version": "1.1.0",
"version": "1.0.0",
"root": "arale",
"tag": "utility",
"homepage": "http://aralejs.org/position/",
"description": "简单实用的定位工具,将一个 DOM 节点相对于另一个 DOM 节点进行定位操作。",
Expand Down

0 comments on commit 4885c18

Please sign in to comment.