@@ -194,192 +194,6 @@ this.createjs = this.createjs || {};
194194 var p = createjs . extend ( AbstractLoader , createjs . EventDispatcher ) ;
195195 var s = AbstractLoader ;
196196
197-
198- /**
199- * Defines a POST request, use for a method value when loading data.
200- * @property POST
201- * @type {string }
202- * @default post
203- * @deprecated Use Methods.POST instead
204- * @static
205- */
206- s . POST = createjs . Methods . POST ;
207-
208- /**
209- * Defines a GET request, use for a method value when loading data.
210- * @property GET
211- * @type {string }
212- * @default get
213- * @deprecated Use Methods.GET instead
214- * @static
215- */
216- s . GET = createjs . Methods . GET ;
217-
218- /**
219- * The preload type for generic binary types. Note that images are loaded as binary files when using XHR.
220- * @property BINARY
221- * @type {String }
222- * @default binary
223- * @static
224- * @deprecated Use createjs.Types.BINARY instead
225- * @since 0.6.0
226- */
227- s . BINARY = createjs . Types . BINARY ;
228-
229- /**
230- * The preload type for css files. CSS files are loaded using a <link> when loaded with XHR, or a
231- * <style> tag when loaded with tags.
232- * @property CSS
233- * @type {String }
234- * @default css
235- * @static
236- * @deprecated Use createjs.Types.CSS instead
237- * @since 0.6.0
238- */
239- s . CSS = createjs . Types . CSS ;
240-
241- s . FONT = createjs . Types . FONT ;
242- s . FONTCSS = createjs . Types . FONTCSS ;
243-
244- /**
245- * The preload type for image files, usually png, gif, or jpg/jpeg. Images are loaded into an <image> tag.
246- * @property IMAGE
247- * @type {String }
248- * @default image
249- * @static
250- * @deprecated Use createjs.Types.IMAGE instead
251- * @since 0.6.0
252- */
253- s . IMAGE = createjs . Types . IMAGE ;
254-
255- /**
256- * The preload type for javascript files, usually with the "js" file extension. JavaScript files are loaded into a
257- * <script> tag.
258- *
259- * Since version 0.4.1+, due to how tag-loaded scripts work, all JavaScript files are automatically injected into
260- * the body of the document to maintain parity between XHR and tag-loaded scripts. In version 0.4.0 and earlier,
261- * only tag-loaded scripts are injected.
262- * @property JAVASCRIPT
263- * @type {String }
264- * @default javascript
265- * @static
266- * @deprecated Use createjs.Types.JAVASCRIPT instead
267- * @since 0.6.0
268- */
269- s . JAVASCRIPT = createjs . Types . JAVASCRIPT ;
270-
271- /**
272- * The preload type for json files, usually with the "json" file extension. JSON data is loaded and parsed into a
273- * JavaScript object. Note that if a `callback` is present on the load item, the file will be loaded with JSONP,
274- * no matter what the {{#crossLink "LoadQueue/preferXHR:property"}}{{/crossLink}} property is set to, and the JSON
275- * must contain a matching wrapper function.
276- * @property JSON
277- * @type {String }
278- * @default json
279- * @static
280- * @deprecated Use createjs.Types.JSON instead
281- * @since 0.6.0
282- */
283- s . JSON = createjs . Types . JSON ;
284-
285- /**
286- * The preload type for jsonp files, usually with the "json" file extension. JSON data is loaded and parsed into a
287- * JavaScript object. You are required to pass a callback parameter that matches the function wrapper in the JSON.
288- * Note that JSONP will always be used if there is a callback present, no matter what the {{#crossLink "LoadQueue/preferXHR:property"}}{{/crossLink}}
289- * property is set to.
290- * @property JSONP
291- * @type {String }
292- * @default jsonp
293- * @static
294- * @deprecated Use createjs.Types.JSONP instead
295- * @since 0.6.0
296- */
297- s . JSONP = createjs . Types . JSONP ;
298-
299- /**
300- * The preload type for json-based manifest files, usually with the "json" file extension. The JSON data is loaded
301- * and parsed into a JavaScript object. PreloadJS will then look for a "manifest" property in the JSON, which is an
302- * Array of files to load, following the same format as the {{#crossLink "LoadQueue/loadManifest"}}{{/crossLink}}
303- * method. If a "callback" is specified on the manifest object, then it will be loaded using JSONP instead,
304- * regardless of what the {{#crossLink "LoadQueue/preferXHR:property"}}{{/crossLink}} property is set to.
305- * @property MANIFEST
306- * @type {String }
307- * @default manifest
308- * @static
309- * @deprecated Use createjs.Types.MANIFEST instead
310- * @since 0.6.0
311- */
312- s . MANIFEST = "manifest" ;
313-
314- /**
315- * The preload type for sound files, usually mp3, ogg, or wav. When loading via tags, audio is loaded into an
316- * <audio> tag.
317- * @property SOUND
318- * @type {String }
319- * @default sound
320- * @static
321- * @deprecated Use createjs.Types.SOUND instead
322- * @since 0.6.0
323- */
324- s . SOUND = createjs . Types . SOUND ;
325-
326- /**
327- * The preload type for video files, usually mp4, ts, or ogg. When loading via tags, video is loaded into an
328- * <video> tag.
329- * @property VIDEO
330- * @type {String }
331- * @default video
332- * @static
333- * @deprecated Use createjs.Types.VIDEO instead
334- * @since 0.6.0
335- */
336- s . VIDEO = createjs . Types . VIDEO ;
337-
338- /**
339- * The preload type for SpriteSheet files. SpriteSheet files are JSON files that contain string image paths.
340- * @property SPRITESHEET
341- * @type {String }
342- * @default spritesheet
343- * @static
344- * @deprecated Use createjs.Types.SPRITESHEET instead
345- * @since 0.6.0
346- */
347- s . SPRITESHEET = createjs . Types . SPRITESHEET ;
348-
349- /**
350- * The preload type for SVG files.
351- * @property SVG
352- * @type {String }
353- * @default svg
354- * @static
355- * @deprecated Use createjs.Types.SVG instead
356- * @since 0.6.0
357- */
358- s . SVG = createjs . Types . SVG ;
359-
360- /**
361- * The preload type for text files, which is also the default file type if the type can not be determined. Text is
362- * loaded as raw text.
363- * @property TEXT
364- * @type {String }
365- * @default text
366- * @static
367- * @deprecated Use createjs.Types.TEXT instead
368- * @since 0.6.0
369- */
370- s . TEXT = createjs . Types . TEXT ;
371-
372- /**
373- * The preload type for xml files. XML is loaded into an XML document.
374- * @property XML
375- * @type {String }
376- * @default xml
377- * @static
378- * @deprecated Use createjs.Types.XML instead
379- * @since 0.6.0
380- */
381- s . XML = createjs . Types . XML ;
382-
383197// Events
384198 /**
385199 * The {{#crossLink "ProgressEvent"}}{{/crossLink}} that is fired when the overall progress changes. Prior to
@@ -753,16 +567,6 @@ this.createjs = this.createjs || {};
753567 this . _sendError ( event ) ;
754568 } ;
755569
756- /**
757- * @method buildPath
758- * @protected
759- * @deprecated Use the {{#crossLink "URLUtils"}}{{/crossLink}} method {{#crossLink "URLUtils/buildURI"}}{{/crossLink}}
760- * instead.
761- */
762- p . buildPath = function ( src , data ) {
763- return createjs . URLUtils . buildURI ( src , data ) ;
764- } ;
765-
766570 /**
767571 * @method toString
768572 * @return {String } a string representation of the instance.
0 commit comments