jquery.git
15 years agoMade sure that .removeClass(null) doesn't throw an exception. Fixes #3847.
John Resig [Tue, 20 Jan 2009 17:33:25 +0000 (17:33 +0000)]
Made sure that .removeClass(null) doesn't throw an exception. Fixes #3847.

15 years agoFocused support of .live(). stopPropagation and stopImmediatePropagation are not...
John Resig [Tue, 20 Jan 2009 17:25:37 +0000 (17:25 +0000)]
Focused support of .live(). stopPropagation and stopImmediatePropagation are not supported - and do not do what the use would expect.

15 years agoRe-worked the logic for where .selector and .context are added for ID selectors ...
John Resig [Tue, 20 Jan 2009 16:00:48 +0000 (16:00 +0000)]
Re-worked the logic for where .selector and .context are added for ID selectors (especially ones that aren't found). Fixes jQuery bug #3833.

15 years agoAdded some missing spaces - helps to calm XHTML error messages in Safari.
John Resig [Tue, 20 Jan 2009 15:46:40 +0000 (15:46 +0000)]
Added some missing spaces - helps to calm XHTML error messages in Safari.

15 years agoAdded two more tweaks for XHTML core tests.
John Resig [Mon, 19 Jan 2009 23:33:46 +0000 (23:33 +0000)]
Added two more tweaks for XHTML core tests.

15 years agoMade some tweaks to the core tests so that they'll run better under XHTML.
John Resig [Mon, 19 Jan 2009 23:22:25 +0000 (23:22 +0000)]
Made some tweaks to the core tests so that they'll run better under XHTML.

15 years agoBrought the logic for handling isXMLDoc over from Sizzle.
John Resig [Mon, 19 Jan 2009 23:17:30 +0000 (23:17 +0000)]
Brought the logic for handling isXMLDoc over from Sizzle.

15 years agoMade sure that a child element exists before the check is done, fixes jQuery bug...
John Resig [Mon, 19 Jan 2009 23:04:03 +0000 (23:04 +0000)]
Made sure that a child element exists before the check is done, fixes jQuery bug #3870.

15 years agojquery event: closes #3843. Some events' timeStamp are wrong on Firefox, we don't...
Ariel Flesler [Mon, 19 Jan 2009 22:20:25 +0000 (22:20 +0000)]
jquery event: closes #3843. Some events' timeStamp are wrong on Firefox, we don't rely on the native value anymore. timeStamp reflects object creation, not last event triggered.

15 years agoRe-worked the logic for handling isXML detection.
John Resig [Mon, 19 Jan 2009 21:57:18 +0000 (21:57 +0000)]
Re-worked the logic for handling isXML detection.

15 years agoLanding a fix for non-link anchor tabIndex (from scott.gonzalez). Fixes ticket #3916.
John Resig [Mon, 19 Jan 2009 21:40:23 +0000 (21:40 +0000)]
Landing a fix for non-link anchor tabIndex (from scott.gonzalez). Fixes ticket #3916.

15 years agoFixed the logic for determining if an XML file is being used. Fixes jQuery bug #3896.
John Resig [Mon, 19 Jan 2009 18:56:02 +0000 (18:56 +0000)]
Fixed the logic for determining if an XML file is being used. Fixes jQuery bug #3896.

15 years agoAdded a way to run the test suite as an XHTML page.
John Resig [Mon, 19 Jan 2009 18:14:51 +0000 (18:14 +0000)]
Added a way to run the test suite as an XHTML page.

15 years agoMerged some recent fixes in from Sizzle.
John Resig [Mon, 19 Jan 2009 18:09:11 +0000 (18:09 +0000)]
Merged some recent fixes in from Sizzle.

15 years agocore: ant build - add Date and Revision to to header (just like make build)
Jörn Zaefferer [Sun, 18 Jan 2009 13:30:09 +0000 (13:30 +0000)]
core: ant build - add Date and Revision to to header (just like make build)

15 years agocore: replaced version.js build script in ant build; wasn't used in make anymore...
Jörn Zaefferer [Sun, 18 Jan 2009 13:04:32 +0000 (13:04 +0000)]
core: replaced version.js build script in ant build; wasn't used in make anymore anyway

15 years agoUpdated License Year, fixes #3871.
John Resig [Sat, 17 Jan 2009 22:25:18 +0000 (22:25 +0000)]
Updated License Year, fixes #3871.

15 years agoMade the IE frameElement check more explicit. Fixes #3880.
John Resig [Sat, 17 Jan 2009 22:04:23 +0000 (22:04 +0000)]
Made the IE frameElement check more explicit. Fixes #3880.

15 years agojquery fx: sync animations were being left on jQuery.timers (double callback)
Ariel Flesler [Wed, 14 Jan 2009 23:09:52 +0000 (23:09 +0000)]
jquery fx: sync animations were being left on jQuery.timers (double callback)
           jQuery.timerId is now a local var and it's not null'ed anymore.

15 years agocore: Ant target to generate openAjaxMetadata; uses http://www.exfer.net/jquery/creat...
Jörn Zaefferer [Wed, 14 Jan 2009 22:43:55 +0000 (22:43 +0000)]
core: Ant target to generate openAjaxMetadata; uses exfer.net/jquery/createjQueryXMLDocs.py to get the data from the wiki, and transforms it using xslt (see build/style.xsl)

15 years agocore: removed newline from version.txt, easier to use it via Ant then
Jörn Zaefferer [Wed, 14 Jan 2009 22:42:55 +0000 (22:42 +0000)]
core: removed newline from version.txt, easier to use it via Ant then

15 years agocore: removed outdated docs target from makefile
Jörn Zaefferer [Wed, 14 Jan 2009 22:42:21 +0000 (22:42 +0000)]
core: removed outdated docs target from makefile

15 years agoUpdating the version to 1.3.1pre.
John Resig [Tue, 13 Jan 2009 17:52:45 +0000 (17:52 +0000)]
Updating the version to 1.3.1pre.

15 years agoTagging the 1.3 release.
John Resig [Tue, 13 Jan 2009 17:50:31 +0000 (17:50 +0000)]
Tagging the 1.3 release.

15 years agoMerged Sizzle changes back into jQuery.
John Resig [Tue, 13 Jan 2009 16:40:19 +0000 (16:40 +0000)]
Merged Sizzle changes back into jQuery.

15 years agoAdded a trailing / in the innerHTML support test to allow it to not
John Resig [Tue, 13 Jan 2009 15:08:11 +0000 (15:08 +0000)]
Added a trailing / in the innerHTML support test to allow it to not
throw an error in XHTML documents. Fixes #3829.

15 years agoUpdated the benchmarking utility to use the Yahoo homepage and a bunch of new selectors.
John Resig [Mon, 12 Jan 2009 18:22:44 +0000 (18:22 +0000)]
Updated the benchmarking utility to use the Yahoo homepage and a bunch of new selectors.

15 years agoMerged in from Sizzle - a change to child filter selector logic.
John Resig [Mon, 12 Jan 2009 16:02:55 +0000 (16:02 +0000)]
Merged in from Sizzle - a change to child filter selector logic.

15 years agoMerged in a fix from Sizzle for :not(:first).
John Resig [Mon, 12 Jan 2009 14:45:58 +0000 (14:45 +0000)]
Merged in a fix from Sizzle for :not(:first).

15 years agoOnly try to wrap the element if it's not disconnected, fixed #3828.
John Resig [Mon, 12 Jan 2009 14:07:14 +0000 (14:07 +0000)]
Only try to wrap the element if it's not disconnected, fixed #3828.

15 years agoFixed an issue with parentNode being accessed in attr() on disconnected DOM elements.
John Resig [Mon, 12 Jan 2009 14:00:35 +0000 (14:00 +0000)]
Fixed an issue with parentNode being accessed in attr() on disconnected DOM elements.

15 years agoUpdating the source version to 1.3rc2.
John Resig [Mon, 12 Jan 2009 02:08:37 +0000 (02:08 +0000)]
Updating the source version to 1.3rc2.

15 years agoTagging the 1.3rc1 release.
John Resig [Mon, 12 Jan 2009 02:05:50 +0000 (02:05 +0000)]
Tagging the 1.3rc1 release.

15 years agoHad to remove the global variable tricks (especially the delete window calls) as...
John Resig [Mon, 12 Jan 2009 01:12:58 +0000 (01:12 +0000)]
Had to remove the global variable tricks (especially the delete window calls) as they cause
exceptions in IE. Also fixed a faulty test that assumed the order of Ajax function callbacks
would be consistent.

15 years agoTweaked the benchmark tests.
John Resig [Mon, 12 Jan 2009 00:24:36 +0000 (00:24 +0000)]
Tweaked the benchmark tests.

15 years agoMade a note about the push method.
John Resig [Mon, 12 Jan 2009 00:24:16 +0000 (00:24 +0000)]
Made a note about the push method.

15 years agoMade the case specific of the type attribute.
John Resig [Sun, 11 Jan 2009 21:22:37 +0000 (21:22 +0000)]
Made the case specific of the type attribute.

15 years agoMerging the latest from Sizzle.
John Resig [Sun, 11 Jan 2009 19:45:04 +0000 (19:45 +0000)]
Merging the latest from Sizzle.

15 years agoPrevented non-script <script> blocks from executing, fixing #3733.
John Resig [Sun, 11 Jan 2009 19:33:01 +0000 (19:33 +0000)]
Prevented non-script <script> blocks from executing, fixing #3733.

15 years agoForgot to change the build.xml file as well.
John Resig [Sun, 11 Jan 2009 16:19:11 +0000 (16:19 +0000)]
Forgot to change the build.xml file as well.

15 years agoFixed boxModel support - is now computed with feature detection, rather than sniffing.
John Resig [Sun, 11 Jan 2009 16:17:20 +0000 (16:17 +0000)]
Fixed boxModel support - is now computed with feature detection, rather than sniffing.

15 years ago.closest() with positional selectors wasn't worked as expected.
John Resig [Sat, 10 Jan 2009 20:30:03 +0000 (20:30 +0000)]
.closest() with positional selectors wasn't worked as expected.

15 years agoLanded a fix for when a DOM element gets accidentally removed by another live event...
John Resig [Sat, 10 Jan 2009 19:57:07 +0000 (19:57 +0000)]
Landed a fix for when a DOM element gets accidentally removed by another live event handler. Thanks to Irae for the patches. Fixed #3820.

15 years agoFixed an issue with script nodes being removed incorrectly, fixes #3737.
John Resig [Sat, 10 Jan 2009 01:07:59 +0000 (01:07 +0000)]
Fixed an issue with script nodes being removed incorrectly, fixes #3737.

15 years agotestrunner: Putting back the global variables used for ajax tests. I added many calls...
Ariel Flesler [Sat, 10 Jan 2009 00:16:48 +0000 (00:16 +0000)]
testrunner: Putting back the global variables used for ajax tests. I added many calls to delete though. The global namespace must be cleaned up before calling start() again.

15 years agotestrunner: Removing every global variable leaked within (and outside) tests. Some...
Ariel Flesler [Fri, 9 Jan 2009 23:49:18 +0000 (23:49 +0000)]
testrunner: Removing every global variable leaked within (and outside) tests. Some were deleted and some saved within the jQuery namespace.

15 years agoDidn't get specific enough with the proxy guid, fixes #3787.
John Resig [Fri, 9 Jan 2009 22:14:48 +0000 (22:14 +0000)]
Didn't get specific enough with the proxy guid, fixes #3787.

15 years agoMade it so that you can bind a single function to multiple .live() selectors. Additio...
John Resig [Fri, 9 Jan 2009 22:10:42 +0000 (22:10 +0000)]
Made it so that you can bind a single function to multiple .live() selectors. Additionally, simplified the proxy code to provide a default proxy function.
Fixes #3787.

15 years agotestrunner: refactored unbind's tests. Including one for #3538, passing since last...
Ariel Flesler [Thu, 8 Jan 2009 22:22:33 +0000 (22:22 +0000)]
testrunner: refactored unbind's tests. Including one for #3538, passing since last commit.

15 years agojquery event: Fixes #3538. unbind on many events was failing.
Ariel Flesler [Thu, 8 Jan 2009 22:21:16 +0000 (22:21 +0000)]
jquery event: Fixes #3538. unbind on many events was failing.

15 years agoSelector state wasn't being passed along on a cloned jQuery object.
John Resig [Thu, 8 Jan 2009 21:41:58 +0000 (21:41 +0000)]
Selector state wasn't being passed along on a cloned jQuery object.

15 years agoFixed tabindex normalization so that elements that natively support tabbing, but...
Scott González [Wed, 7 Jan 2009 14:36:30 +0000 (14:36 +0000)]
Fixed tabindex normalization so that elements that natively support tabbing, but don't have a tabindex explicitly set return 0 instead of undefined.

Removed jQuery.support.tabindex since we're only normalizing non-XML right now and all browsers support tabIndex for HTML documents.

15 years agoMerged in a missing argument from Sizzle.
John Resig [Wed, 7 Jan 2009 14:31:28 +0000 (14:31 +0000)]
Merged in a missing argument from Sizzle.

15 years agoLanded a number of improvements to the selector engine. Results are auto-merged onto...
John Resig [Wed, 7 Jan 2009 00:13:57 +0000 (00:13 +0000)]
Landed a number of improvements to the selector engine. Results are auto-merged onto the jQuery
object, class filtering is now done inline, and not filtering is more efficient.

15 years agoRemoved all uses of @ in the benchmarker and added a couple :not() tests.
John Resig [Tue, 6 Jan 2009 20:23:44 +0000 (20:23 +0000)]
Removed all uses of @ in the benchmarker and added a couple :not() tests.

15 years agoCleaned up the benchmarking utility (using a newer version of jQuery and fixing the...
John Resig [Tue, 6 Jan 2009 16:19:55 +0000 (16:19 +0000)]
Cleaned up the benchmarking utility (using a newer version of jQuery and fixing the runner).

15 years agoMade the .unqiue() within .find() optional (speeds up calls).
John Resig [Tue, 6 Jan 2009 16:17:50 +0000 (16:17 +0000)]
Made the .unqiue() within .find() optional (speeds up calls).

15 years agoTagging the 1.3b2 release.
John Resig [Mon, 5 Jan 2009 23:33:56 +0000 (23:33 +0000)]
Tagging the 1.3b2 release.

15 years agojquery selector: Replacing {0,1} for ? in a regex.
Ariel Flesler [Mon, 5 Jan 2009 23:19:58 +0000 (23:19 +0000)]
jquery selector: Replacing {0,1} for ? in a regex.

15 years agoDisabled an extra event binding.
John Resig [Mon, 5 Jan 2009 23:06:57 +0000 (23:06 +0000)]
Disabled an extra event binding.

15 years agoSwitched back to the old style of running embedded scripts (users who have duplicate...
John Resig [Mon, 5 Jan 2009 22:58:02 +0000 (22:58 +0000)]
Switched back to the old style of running embedded scripts (users who have duplicate runs will
have to deal with it another way).

15 years agoTimeout test appears to be flaky - disabling, for now.
John Resig [Mon, 5 Jan 2009 22:14:26 +0000 (22:14 +0000)]
Timeout test appears to be flaky - disabling, for now.

15 years agoThe timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.
John Resig [Mon, 5 Jan 2009 22:05:59 +0000 (22:05 +0000)]
The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.

15 years agoOops, order of operations.
John Resig [Mon, 5 Jan 2009 22:02:20 +0000 (22:02 +0000)]
Oops, order of operations.

15 years agoBrought in a fix from Sizzle - IE doesn't have .contains on XML elements.
John Resig [Mon, 5 Jan 2009 21:59:07 +0000 (21:59 +0000)]
Brought in a fix from Sizzle - IE doesn't have .contains on XML elements.

15 years agoSimplified the XML clone test.
John Resig [Mon, 5 Jan 2009 21:56:35 +0000 (21:56 +0000)]
Simplified the XML clone test.

15 years agoSimplified the XML selector test (save the result).
John Resig [Mon, 5 Jan 2009 21:04:15 +0000 (21:04 +0000)]
Simplified the XML selector test (save the result).

15 years agoFixed an issue with how broken selector tests were handled in IE (the exception was...
John Resig [Mon, 5 Jan 2009 20:43:58 +0000 (20:43 +0000)]
Fixed an issue with how broken selector tests were handled in IE (the exception was misdirected).

15 years agoThe triggered flag was being set too early, which was preventing bubbling form workin...
John Resig [Mon, 5 Jan 2009 20:43:24 +0000 (20:43 +0000)]
The triggered flag was being set too early, which was preventing bubbling form working when a
native event existed.

15 years agoMake sure that if no ownerDocument is available that we fall back to the node itself...
John Resig [Mon, 5 Jan 2009 19:22:25 +0000 (19:22 +0000)]
Make sure that if no ownerDocument is available that we fall back to the node itself (likely the document).

15 years agoLanded cross-browser support for tabIndex, by Scott, closes ticket #3649.
John Resig [Mon, 5 Jan 2009 17:34:42 +0000 (17:34 +0000)]
Landed cross-browser support for tabIndex, by Scott, closes ticket #3649.

15 years agojquery event: Removed a needless if (old code)
Ariel Flesler [Mon, 5 Jan 2009 13:31:21 +0000 (13:31 +0000)]
jquery event: Removed a needless if (old code)

15 years agojquery intro: looks nicer when built
Ariel Flesler [Mon, 5 Jan 2009 12:09:04 +0000 (12:09 +0000)]
jquery intro: looks nicer when built

15 years agojquery fx: Shortening the code additions on [6037].
Ariel Flesler [Mon, 5 Jan 2009 12:05:38 +0000 (12:05 +0000)]
jquery fx: Shortening the code additions on [6037].

15 years agoMerging from Sizzle (fixed a bug when querySelectorAll is used.
John Resig [Mon, 5 Jan 2009 02:45:20 +0000 (02:45 +0000)]
Merging from Sizzle (fixed a bug when querySelectorAll is used.

15 years agoForgot to merge in some of the new tests from Sizzle.
John Resig [Mon, 5 Jan 2009 01:24:14 +0000 (01:24 +0000)]
Forgot to merge in some of the new tests from Sizzle.

15 years agoMade hide, show, toggle, slideUp, slideDown, and slideToggle animate margins and...
John Resig [Mon, 5 Jan 2009 01:14:36 +0000 (01:14 +0000)]
Made hide, show, toggle, slideUp, slideDown, and slideToggle animate margins and paddings in addition to height, width, and opacity (results in a much-smoother animation).

15 years agoAccidentally left in an extra echo statement in the Makefile.
John Resig [Mon, 5 Jan 2009 00:34:40 +0000 (00:34 +0000)]
Accidentally left in an extra echo statement in the Makefile.

15 years agoSynced with the Sizzle repository.
John Resig [Mon, 5 Jan 2009 00:21:13 +0000 (00:21 +0000)]
Synced with the Sizzle repository.

15 years ago.live("div div") was failing due to the extra space in the selector (which conflicted...
John Resig [Sun, 4 Jan 2009 23:58:43 +0000 (23:58 +0000)]
.live("div div") was failing due to the extra space in the selector (which conflicted with multiple event binding in .bind).

15 years agoMoved the copyright to the intro file, added a ! so that it passes through YUIMin...
John Resig [Sun, 4 Jan 2009 23:34:18 +0000 (23:34 +0000)]
Moved the copyright to the intro file, added a ! so that it passes through YUIMin untouched, and changed the Date and Revision so that they're now generated automatically based upon all of jQuery rather than just the core file.

15 years agojquery event: event.stopImmediatePropagation() stops live handlers as well.
Ariel Flesler [Sun, 4 Jan 2009 22:32:18 +0000 (22:32 +0000)]
jquery event: event.stopImmediatePropagation() stops live handlers as well.

15 years agojquery core: Misc file size optimizations.
Ariel Flesler [Sun, 4 Jan 2009 22:25:46 +0000 (22:25 +0000)]
jquery core: Misc file size optimizations.

15 years agojquery ajax: File size optimization for compressed code.
Ariel Flesler [Sun, 4 Jan 2009 21:15:02 +0000 (21:15 +0000)]
jquery ajax: File size optimization for compressed code.

15 years agojquery core: Allowing whitespaces within the [6026] addition.
Ariel Flesler [Sun, 4 Jan 2009 21:09:03 +0000 (21:09 +0000)]
jquery core: Allowing whitespaces within the [6026] addition.

15 years agoChanged build.xml to use YUICompressor, fixes #3779.
John Resig [Sun, 4 Jan 2009 17:21:00 +0000 (17:21 +0000)]
Changed build.xml to use YUICompressor, fixes #3779.

15 years agoMoved from the old JSMin to using YUIMin for compressing the jQuery source. Additiona...
John Resig [Sun, 4 Jan 2009 15:29:27 +0000 (15:29 +0000)]
Moved from the old JSMin to using YUIMin for compressing the jQuery source. Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes.

15 years agoLanded a proper fix for #3255 - which involves doing createElement instead of going...
John Resig [Sat, 3 Jan 2009 00:51:07 +0000 (00:51 +0000)]
Landed a proper fix for #3255 - which involves doing createElement instead of going through the normal clean method.

15 years agoHid an issue where Safari through an exception when a colgroup was created in jQuery...
John Resig [Sat, 3 Jan 2009 00:19:02 +0000 (00:19 +0000)]
Hid an issue where Safari through an exception when a colgroup was created in jQuery.clean. Not completely sure what the cause is, yet.

15 years agojquery event: Misc, removed a commented line from last commit.
Ariel Flesler [Fri, 2 Jan 2009 23:44:06 +0000 (23:44 +0000)]
jquery event: Misc, removed a commented line from last commit.

15 years agoFixed an issue that was introduced by [5743] (which didn't have a test case, either...
John Resig [Fri, 2 Jan 2009 23:32:10 +0000 (23:32 +0000)]
Fixed an issue that was introduced by [5743] (which didn't have a test case, either - that has been resolved). This fixed #3739.

15 years agojquery event: Now using an internal argument to detect if bubbling on $.event.trigger...
Ariel Flesler [Fri, 2 Jan 2009 23:07:16 +0000 (23:07 +0000)]
jquery event: Now using an internal argument to detect if bubbling on $.event.trigger. The other would fail when it receives an event object with target. Also, the target isn't nulled anymore.
In addition, there was a lot of code running O(n) during bubbling while not needed.

15 years agojquery event: closes #3772. The extra function on $.event.trigger isn't supported...
Ariel Flesler [Fri, 2 Jan 2009 22:23:52 +0000 (22:23 +0000)]
jquery event: closes #3772. The extra function on $.event.trigger isn't supported anymore.

15 years agoDisabled testing of em-defined borders, need to look back into this issue.
John Resig [Fri, 2 Jan 2009 19:25:54 +0000 (19:25 +0000)]
Disabled testing of em-defined borders, need to look back into this issue.

15 years agoThe exact escaping of the text() test isn't important - as long as < is escaped.
John Resig [Fri, 2 Jan 2009 19:23:12 +0000 (19:23 +0000)]
The exact escaping of the text() test isn't important - as long as < is escaped.

15 years agoFixed an issue with .not("#foo, bar") not working correctly, closes #3757.
John Resig [Wed, 31 Dec 2008 19:21:24 +0000 (19:21 +0000)]
Fixed an issue with .not("#foo, bar") not working correctly, closes #3757.

15 years agojquery event: event.timeStamp wasn't being created when passing just the type to...
Ariel Flesler [Wed, 31 Dec 2008 03:36:51 +0000 (03:36 +0000)]
jquery event: event.timeStamp wasn't being created when passing just the type to the constructor.
Misc: Simplified the readyList execution code.

15 years agojquery event:
Ariel Flesler [Wed, 31 Dec 2008 02:58:13 +0000 (02:58 +0000)]
jquery event:
* event objects have isDefaultPrevented, isPropagationStopped and isImmediatePropagationStopped methods.
* Removed donative and dohandlers from $.trigger
* event.result carries the last returned data from a handler(not undefined).
* $.trigger doesn't keep bubbling if stopPropagation() is called.
* Same event object is used all along for global trigger
* Fixed the bug where target doesn't change when triggering on many elements.
* The data array on $.trigger was accumulating objects as it bubbles.
testrunner: adding more tests

15 years agojquery event: removed the argument dohandlers from $.trigger. Uses another approach.
Ariel Flesler [Tue, 30 Dec 2008 23:29:14 +0000 (23:29 +0000)]
jquery event: removed the argument dohandlers from $.trigger. Uses another approach.

15 years agobuild: Closes #3760. Adding the data module to the build file. Thanks Cloudream.
Ariel Flesler [Tue, 30 Dec 2008 22:05:45 +0000 (22:05 +0000)]
build: Closes #3760. Adding the data module to the build file. Thanks Cloudream.