Skip to content

Commit fe41c4b

Browse files
author
Andrew Start
committed
Merge branch 'dev'
2 parents 8b3162c + 93f3370 commit fe41c4b

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

bin/pixi.dev.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright (c) 2012-2014, Mat Groves
55
* http://goodboydigital.com/
66
*
7-
* Compiled: 2014-08-28
7+
* Compiled: 2014-08-29
88
*
99
* pixi.js is licensed under the MIT License.
1010
* http://www.opensource.org/licenses/mit-license.php
@@ -4950,6 +4950,8 @@ PIXI.AjaxRequest = function()
49504950
*/
49514951
PIXI.filenameFromUrl = function(url)
49524952
{
4953+
if(url.indexOf('data:') === 0)
4954+
return url;
49534955
var name = url.substring(url.lastIndexOf('/') + 1);
49544956
var i = name.lastIndexOf('.');
49554957
if(i !== -1)
@@ -14949,6 +14951,8 @@ var _formatQueryString = function(data, query) {
1494914951
return params.join('&');
1495014952
};
1495114953
PIXI.buildPath = function(src, _basePath, data) {
14954+
if(src.indexOf('data:') === 0)
14955+
return src;
1495214956
if (_basePath !== null) {
1495314957
var match = _parseURI(src);
1495414958
// IE 7,8 Return empty string here.

bin/pixi.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pixi.js",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44

55
"main": "bin/pixi.js",
66

src/pixi/loaders/LoaderUtils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ var _formatQueryString = function(data, query) {
1717
return params.join('&');
1818
};
1919
PIXI.buildPath = function(src, _basePath, data) {
20+
if(src.indexOf('data:') === 0)
21+
return src;
2022
if (_basePath !== null) {
2123
var match = _parseURI(src);
2224
// IE 7,8 Return empty string here.

src/pixi/utils/Utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ PIXI.AjaxRequest = function()
143143
*/
144144
PIXI.filenameFromUrl = function(url)
145145
{
146+
if(url.indexOf('data:') === 0)
147+
return url;
146148
var name = url.substring(url.lastIndexOf('/') + 1);
147149
var i = name.lastIndexOf('.');
148150
if(i !== -1)

0 commit comments

Comments
 (0)