export queryExtend as an AMD module when define && define.amd is present
Merge pull request #2 from m90/master

export queryExtend as an AMD module when define && define.amd is present