deps remove
parent
575594a46f
commit
0e1a2867a3
|
@ -2693,11 +2693,6 @@
|
||||||
"integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==",
|
"integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"i": {
|
|
||||||
"version": "0.3.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/i/-/i-0.3.6.tgz",
|
|
||||||
"integrity": "sha1-2WyScyB28HJxG2sQ/X1PZa2O4j0="
|
|
||||||
},
|
|
||||||
"indent-string": {
|
"indent-string": {
|
||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
|
||||||
|
|
|
@ -2,13 +2,10 @@
|
||||||
"name": "r3",
|
"name": "r3",
|
||||||
"description": "R3",
|
"description": "R3",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"repository": "https://bitbucket.org/cybafelo/r3-3ditor.git",
|
"repository": "https://bitbucket.org/cybafelo/r3/src/master/",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cannon": "^0.6.2",
|
"cannon": "^0.6.2",
|
||||||
"i": "^0.3.5",
|
|
||||||
"npm": "^6.4.1",
|
|
||||||
"q": "^1.4.1",
|
|
||||||
"three": "*"
|
"three": "*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -18,6 +15,7 @@
|
||||||
"gulp-minify": "*",
|
"gulp-minify": "*",
|
||||||
"gulp-sort": "*",
|
"gulp-sort": "*",
|
||||||
"gulp-watch": "^5.0.1",
|
"gulp-watch": "^5.0.1",
|
||||||
"lodash": "^4.17.2"
|
"lodash": "^4.17.2",
|
||||||
|
"npm": "^6.4.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,25 +35,7 @@ if (typeof R3.D3.Runtime === 'undefined') {
|
||||||
R3.D3.Runtime = function(){};
|
R3.D3.Runtime = function(){};
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (typeof Q === 'undefined') {
|
/**
|
||||||
//
|
* This gets injected by gulp
|
||||||
// if (typeof require === 'undefined') {
|
*/
|
||||||
// console.warn('You need the Q promise library for the R3.D3');
|
|
||||||
// throw new Error('You need the Q promise library for the R3.D3');
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// var Q = require('q');
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// if (typeof _ === 'undefined') {
|
|
||||||
//
|
|
||||||
// if (typeof require === 'undefined') {
|
|
||||||
// console.warn('You need the lodash library for the R3.D3');
|
|
||||||
// throw new Error('You need the lodash library for the R3.D3');
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// var _ = require('lodash');
|
|
||||||
// }
|
|
||||||
|
|
||||||
// This gets injected by gulp
|
|
||||||
console.log("Loading R3 compiled at: " + __DATE__);
|
console.log("Loading R3 compiled at: " + __DATE__);
|
||||||
|
|
|
@ -205,31 +205,6 @@ R3.Utils.ObjectIdWithNameInArray = function(name, array) {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// R3.Utils.ObjectFactory = function() {
|
|
||||||
//
|
|
||||||
// var promiseList = {};
|
|
||||||
//
|
|
||||||
// return function(objectId) {
|
|
||||||
//
|
|
||||||
// if (!objectId) {
|
|
||||||
// console.log('No Object ID specified ' + objectId);
|
|
||||||
// throw new Error('No Object ID specified ' + objectId);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// if (promiseList[objectId]) {
|
|
||||||
// return promiseList[objectId];
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// var defer = Q.defer();
|
|
||||||
//
|
|
||||||
// promiseList[objectId] = defer.promise;
|
|
||||||
//
|
|
||||||
// R3.Utils.ObjectFactory.Link(idToObject, objectId, defer);
|
|
||||||
//
|
|
||||||
// return promiseList[objectId];
|
|
||||||
// }
|
|
||||||
// };
|
|
||||||
|
|
||||||
R3.Utils.LoadIdsFromArrayToIdObject = function(array, idToObject) {
|
R3.Utils.LoadIdsFromArrayToIdObject = function(array, idToObject) {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue