Reintroduced .offset() as a default include, added original author credits.
This commit is contained in:
parent
2929f8aa67
commit
15a78f8fea
3
Makefile
3
Makefile
|
@ -12,7 +12,8 @@ BASE_FILES = ${SRC_DIR}/core.js\
|
||||||
${SRC_DIR}/selector.js\
|
${SRC_DIR}/selector.js\
|
||||||
${SRC_DIR}/event.js\
|
${SRC_DIR}/event.js\
|
||||||
${SRC_DIR}/ajax.js\
|
${SRC_DIR}/ajax.js\
|
||||||
${SRC_DIR}/fx.js
|
${SRC_DIR}/fx.js\
|
||||||
|
${SRC_DIR}/offset.js
|
||||||
|
|
||||||
PLUGINS = ${PLUG_DIR}/button/*\
|
PLUGINS = ${PLUG_DIR}/button/*\
|
||||||
${PLUG_DIR}/center/*\
|
${PLUG_DIR}/center/*\
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
<fileset dir="${SRC_DIR}" includes="event.js" />
|
<fileset dir="${SRC_DIR}" includes="event.js" />
|
||||||
<fileset dir="${SRC_DIR}" includes="ajax.js" />
|
<fileset dir="${SRC_DIR}" includes="ajax.js" />
|
||||||
<fileset dir="${SRC_DIR}" includes="fx.js" />
|
<fileset dir="${SRC_DIR}" includes="fx.js" />
|
||||||
|
<fileset dir="${SRC_DIR}" includes="offset.js" />
|
||||||
<fileset dir="${PLUGIN_DIR}" includes="${PLUGINS}" />
|
<fileset dir="${PLUGIN_DIR}" includes="${PLUGINS}" />
|
||||||
<fileset dir="${SRC_DIR}" includes="outro.js" />
|
<fileset dir="${SRC_DIR}" includes="outro.js" />
|
||||||
</concat>
|
</concat>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// The Offset Method
|
||||||
|
// Originally By Brandon Aaron, part of the Dimension Plugin
|
||||||
|
// http://jquery.com/plugins/project/dimensions
|
||||||
jQuery.fn.offset = function() {
|
jQuery.fn.offset = function() {
|
||||||
var left = 0, top = 0, elem = this[0], results;
|
var left = 0, top = 0, elem = this[0], results;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue