[Pkg-javascript-commits] [dojo] 18/27: Fix MID's in dojo/ and dijit/ modules to be relative paths (when possible), and convert "." --> "./main".

David Prévot taffit at moszumanska.debian.org
Sun Sep 14 16:23:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.7.6
in repository dojo.

commit 680bb98a50e7ed2ecfc38a3828df4311926573d1
Author: Bill Keese <bill at dojotoolkit.org>
Date:   Wed Feb 8 00:28:50 2012 +0000

    Fix MID's in dojo/ and dijit/ modules to be relative paths (when possible), and convert "." --> "./main".
    
    The "./main" references in dijit/ modules are for exporting symbols to the "dijit" namespace and thus will be removed in 2.0, but before that (for consistency) maybe it's worth changing the code to export via setObject(), like dojo.declare() does.
    
    Fixes #14742 !strict.
    
    git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@27778 560b804f-0ae3-0310-86f3-f6aa0a117693
    (cherry picked from commit 0564589f5cb9cdefc763f47355ea02268e654d7d)
    
    Conflicts:
    	robotx.js
---
 NodeList-fx.js           | 2 +-
 data/util/filter.js      | 2 +-
 data/util/simpleFetch.js | 2 +-
 data/util/sorter.js      | 2 +-
 robot.js                 | 2 +-
 robotx.js                | 2 +-
 store/api/Store.js       | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/NodeList-fx.js b/NodeList-fx.js
index 2a50df3..e4763c2 100644
--- a/NodeList-fx.js
+++ b/NodeList-fx.js
@@ -1,4 +1,4 @@
-define(["dojo/_base/NodeList", "./_base/lang", "./_base/connect", "./_base/fx", "./fx"], 
+define(["./_base/NodeList", "./_base/lang", "./_base/connect", "./_base/fx", "./fx"],
   function(NodeList, lang, connectLib, baseFx, coreFx) {
 	// module:
 	//		dojo/NodeList-fx
diff --git a/data/util/filter.js b/data/util/filter.js
index 49a5295..c0d9729 100644
--- a/data/util/filter.js
+++ b/data/util/filter.js
@@ -1,4 +1,4 @@
-define(["dojo/_base/lang"], function(lang) {
+define(["../../_base/lang"], function(lang) {
 	// module:
 	//		dojo/data/util/filter
 	// summary:
diff --git a/data/util/simpleFetch.js b/data/util/simpleFetch.js
index 40d0d22..7a3b0c5 100644
--- a/data/util/simpleFetch.js
+++ b/data/util/simpleFetch.js
@@ -1,4 +1,4 @@
-define(["dojo/_base/lang", "dojo/_base/window", "./sorter"], 
+define(["../../_base/lang", "../../_base/window", "./sorter"],
   function(lang, winUtil, sorter) {
 	// module:
 	//		dojo/data/util/simpleFetch
diff --git a/data/util/sorter.js b/data/util/sorter.js
index 617fb47..11a7a4c 100644
--- a/data/util/sorter.js
+++ b/data/util/sorter.js
@@ -1,4 +1,4 @@
-define(["dojo/_base/lang"], function(lang) {
+define(["../../_base/lang"], function(lang) {
 	// module:
 	//		dojo/data/util/sorter
 	// summary:
diff --git a/robot.js b/robot.js
index 3fb9ea0..f410e1b 100644
--- a/robot.js
+++ b/robot.js
@@ -1,4 +1,4 @@
-define(["dojo", "doh/_browserRunner", "doh/robot", "dojo/window"], function(dojo, doh) {
+define(["dojo", "doh/_browserRunner", "doh/robot", "./window"], function(dojo, doh) {
 
 dojo.experimental("dojo.robot");
 
diff --git a/robotx.js b/robotx.js
index 9f519c8..f434c55 100644
--- a/robotx.js
+++ b/robotx.js
@@ -1,4 +1,4 @@
-define(["dojo", "dojo/robot"], function(dojo) {
+define(["./main", "./_base/sniff", "./robot"], function(dojo, has) {
 
 dojo.experimental("dojo.robotx");
 
diff --git a/store/api/Store.js b/store/api/Store.js
index f16a836..86e3055 100644
--- a/store/api/Store.js
+++ b/store/api/Store.js
@@ -1,4 +1,4 @@
-define(["dojo/_base/declare"], function(declare) {
+define(["../../_base/declare"], function(declare) {
 	// module:
 	//		dojo/store/api/Store
 	// summary:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list