Skip to content

Commit

Permalink
Convert abandoned dojox/jsonPath to full AMD. fixes: #18055
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagetsume committed Jun 30, 2014
1 parent 836e952 commit aab9f16
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 150 deletions.
1 change: 0 additions & 1 deletion dojox.profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ var profile = (function(){
"help",
"image/(Gallery|SlideShow|ThumbnailPicker)",
"jq",
"jsonPath/query",
"lang/(aspect|async|docs|observable|oo|typed|functional/(binrec|curry|linrec|listcomp|multirec|numrec|tailrec|util|zip))",
"layout/(BorderContainer|dnd|ext-dijit)",
"mobile/app/",
Expand Down
6 changes: 5 additions & 1 deletion jsonPath.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
define(['./jsonPath/query'],function(){
define(["dojo/_base/kernel",
"./jsonPath/query"
],function(kernel, query){
/*=====
return {
// summary:
// Deprecated. Should require dojox/jsonPath modules directly rather than trying to access them through
// this module.
};
=====*/
kernel.deprecated("dojox/jsonPath: The dojox/jsonPath root module is deprecated, use dojox/jsonPath/query", "", "2.0");
return {query: query};
});
Loading

0 comments on commit aab9f16

Please sign in to comment.