Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
danrot committed Jul 5, 2016
2 parents 37722d0 + 2fd8858 commit eaf112f
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 14 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
* FEATURE #641 Added preselect callback for toolbar button
* BUGFIX #633 Removed bound effect respectively additional scrollbar

* 0.21.0 (2016-07-05)
* BUGFIX #670 Fixed Globalizing timing issue

* 0.20.0 (2016-06-28)
* HOTFIX #660 Fixed timing of localization initialization
* ENHANCEMENT #657 Added new function 'records.set' for datagrid
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "husky",
"version": "0.20.0",
"version": "0.21.0",
"main": "js/husky.js",
"dependencies": {
"backbone": "1.1.*",
Expand Down
27 changes: 22 additions & 5 deletions bower_components/requirejs-text/text.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* @license RequireJS text 2.0.14 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/requirejs/text for details
* @license text 2.0.15 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/text/LICENSE
*/
/*jslint regexp: true */
/*global require, XMLHttpRequest, ActiveXObject,
Expand All @@ -22,8 +21,26 @@ define(['module'], function (module) {
buildMap = {},
masterConfig = (module.config && module.config()) || {};

function useDefault(value, defaultValue) {
return value === undefined || value === '' ? defaultValue : value;
}

//Allow for default ports for http and https.
function isSamePort(protocol1, port1, protocol2, port2) {
if (port1 === port2) {
return true;
} else if (protocol1 === protocol2) {
if (protocol1 === 'http') {
return useDefault(port1, '80') === useDefault(port2, '80');
} else if (protocol1 === 'https') {
return useDefault(port1, '443') === useDefault(port2, '443');
}
}
return false;
}

text = {
version: '2.0.14',
version: '2.0.15',

strip: function (content) {
//Strips <?xml ...?> declarations so that external SVG and XML
Expand Down Expand Up @@ -141,7 +158,7 @@ define(['module'], function (module) {

return (!uProtocol || uProtocol === protocol) &&
(!uHostName || uHostName.toLowerCase() === hostname.toLowerCase()) &&
((!uPort && !uHostName) || uPort === port);
((!uPort && !uHostName) || isSamePort(uProtocol, uPort, protocol, port));
},

finishLoad: function (name, strip, content, onLoad) {
Expand Down
27 changes: 22 additions & 5 deletions dist/husky.js
Original file line number Diff line number Diff line change
Expand Up @@ -14739,9 +14739,8 @@ define("underscore", (function (global) {
}));

/**
* @license RequireJS text 2.0.14 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/requirejs/text for details
* @license text 2.0.15 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/text/LICENSE
*/
/*jslint regexp: true */
/*global require, XMLHttpRequest, ActiveXObject,
Expand All @@ -14762,8 +14761,26 @@ define('text',['module'], function (module) {
buildMap = {},
masterConfig = (module.config && module.config()) || {};

function useDefault(value, defaultValue) {
return value === undefined || value === '' ? defaultValue : value;
}

//Allow for default ports for http and https.
function isSamePort(protocol1, port1, protocol2, port2) {
if (port1 === port2) {
return true;
} else if (protocol1 === protocol2) {
if (protocol1 === 'http') {
return useDefault(port1, '80') === useDefault(port2, '80');
} else if (protocol1 === 'https') {
return useDefault(port1, '443') === useDefault(port2, '443');
}
}
return false;
}

text = {
version: '2.0.14',
version: '2.0.15',

strip: function (content) {
//Strips <?xml ...?> declarations so that external SVG and XML
Expand Down Expand Up @@ -14881,7 +14898,7 @@ define('text',['module'], function (module) {

return (!uProtocol || uProtocol === protocol) &&
(!uHostName || uHostName.toLowerCase() === hostname.toLowerCase()) &&
((!uPort && !uHostName) || uPort === port);
((!uPort && !uHostName) || isSamePort(uProtocol, uPort, protocol, port));
},

finishLoad: function (name, strip, content, onLoad) {
Expand Down
2 changes: 1 addition & 1 deletion dist/husky.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/husky.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "husky",
"version": "0.20.0",
"version": "0.21.0",
"description": "awesome sh*t",
"keywords": [
"frontend-framework"
Expand Down

0 comments on commit eaf112f

Please sign in to comment.