Sha256: 0372952a38edf69e1d37f15464e6057dc3103beb40c96ab0aab9758d97835b01

Contents?: true

Size: 927 Bytes

Versions: 132

Compression:

Stored size: 927 Bytes

Contents

/**
 * @namespace
 * @deprecated Use {@link FilePath} instead.
 */
JSDOC.Util = {
}

/**
 * @deprecated Use {@link FilePath.fileName} instead.
 */
JSDOC.Util.fileName = function(path) {
	LOG.warn("JSDOC.Util.fileName is deprecated. Use FilePath.fileName instead.");
	var nameStart = Math.max(path.lastIndexOf("/")+1, path.lastIndexOf("\\")+1, 0);
	return path.substring(nameStart);
}

/**
 * @deprecated Use {@link FilePath.fileExtension} instead.
 */
JSDOC.Util.fileExtension = function(filename) {
	LOG.warn("JSDOC.Util.fileExtension is deprecated. Use FilePath.fileExtension instead.");
	return filename.split(".").pop().toLowerCase();
};

/**
 * @deprecated Use {@link FilePath.dir} instead.
 */
JSDOC.Util.dir = function(path) {
	LOG.warn("JSDOC.Util.dir is deprecated. Use FilePath.dir instead.");
	var nameStart = Math.max(path.lastIndexOf("/")+1, path.lastIndexOf("\\")+1, 0);
	return path.substring(0, nameStart-1);
}

Version data entries

132 entries across 131 versions & 14 rubygems

Version Path
hquery-patient-api-1.1.1 doc/jsdoc-toolkit/app/lib/JSDOC/Util.js
hquery-patient-api-1.1.0 doc/jsdoc-toolkit/app/lib/JSDOC/Util.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Util.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Util.js
quentonc-jsdoc_helper-0.0.2 test/ext/jsdoc-toolkit/app/lib/JSDOC/Util.js
quentonc-jsdoc_helper-0.0.2 ext/jsdoc-toolkit/app/lib/JSDOC/Util.js
sproutit-sproutcore-1.0.20090721145236 vendor/jsdoc/app/lib/JSDOC/Util.js
sproutit-sproutcore-1.0.20090721145251 vendor/jsdoc/app/lib/JSDOC/Util.js
sproutit-sproutcore-1.0.20090721145280 vendor/jsdoc/app/lib/JSDOC/Util.js
sproutit-sproutcore-1.0.20090721145281 vendor/jsdoc/app/lib/JSDOC/Util.js
sproutit-sproutcore-1.0.20090721145282 vendor/jsdoc/app/lib/JSDOC/Util.js
sproutit-sproutcore-1.0.20090721145285 vendor/jsdoc/app/lib/JSDOC/Util.js
sproutit-sproutcore-1.0.203 vendor/jsdoc/app/lib/JSDOC/Util.js
hquery-patient-api-1.0.4 doc/jsdoc-toolkit/app/lib/JSDOC/Util.js
hquery-patient-api-1.0.3 doc/jsdoc-toolkit/app/lib/JSDOC/Util.js
hquery-patient-api-1.0.2 doc/jsdoc-toolkit/app/lib/JSDOC/Util.js
hquery-patient-api-1.0.1 doc/jsdoc-toolkit/app/lib/JSDOC/Util.js
jsc3d-rails-1.0 vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Util.js
hquery-patient-api-1.0.0 doc/jsdoc-toolkit/app/lib/JSDOC/Util.js
hquery-patient-api-0.3.0 doc/jsdoc-toolkit/app/lib/JSDOC/Util.js