Skip to content

Commit

Permalink
upd 4.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
olton committed Nov 24, 2019
1 parent 0ecb079 commit f0d5786
Show file tree
Hide file tree
Showing 32 changed files with 41 additions and 44 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
+ [x] M4Q Script: add `$.script`, `$.fn.script` to execute scripts from element or create script object
+ [x] M4Q Manipulation: `$.fn.append`, `$.fn.prepend` now support script tag processing
+ [x] M4Q Clone: now support cloning `data` if second argument `withData`is `true` - `$(el).clone(true, true)`
+ [x] M4Q Events: nwo you can define event name with `hyphen` or in `camelCase` notation. Example: `mouse-down`, `accordionCreate`
+ [x] M4Q Events: now you can define event name with `hyphen` or in `camelCase` notation. Example: `mouse-down`, `accordionCreate`
+ [x] M4Q Ajax: fix handler for sending data
+ [x] M4Q Ajax: fix `$.json` if returned value can't be parsed
+ [x] M4Q Ajax: fix `post` for `object`
Expand Down
2 changes: 1 addition & 1 deletion build/css/metro-all.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:45
* Built at 24/11/2019 13:31:35
* Licensed under MIT
*/
html,
Expand Down
2 changes: 1 addition & 1 deletion build/css/metro-animations.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.ani-spin,
Expand Down
2 changes: 1 addition & 1 deletion build/css/metro-colors.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.op-default {
Expand Down
2 changes: 1 addition & 1 deletion build/css/metro-icons.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
@font-face {
Expand Down
2 changes: 1 addition & 1 deletion build/css/metro-rtl.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.accordion.rtl.material > .frame > .heading,
Expand Down
2 changes: 1 addition & 1 deletion build/css/metro-third.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.sorting,
Expand Down
2 changes: 1 addition & 1 deletion build/css/metro.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
html,
Expand Down
2 changes: 1 addition & 1 deletion build/css/schemes/darcula.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
2 changes: 1 addition & 1 deletion build/css/schemes/red-alert.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
2 changes: 1 addition & 1 deletion build/css/schemes/red-dark.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
2 changes: 1 addition & 1 deletion build/css/schemes/red-mirohost.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
2 changes: 1 addition & 1 deletion build/css/schemes/sky-net.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
9 changes: 4 additions & 5 deletions build/js/metro.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:45
* Built at 24/11/2019 13:31:35
* Licensed under MIT
*/

Expand Down Expand Up @@ -563,7 +563,7 @@ function normalizeEventName(name) {

// Source: src/core.js

var m4qVersion = "v1.0.4. Built at 20/11/2019 10:29:25";
var m4qVersion = "v1.0.4. Built at 24/11/2019 13:28:24";
var regexpSingleTag = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;

var matches = Element.prototype.matches
Expand Down Expand Up @@ -617,7 +617,7 @@ $.extend = $.fn.extend = function(){
return target;
};

if (typeof window["hideM4QVersion"] === "undefined")
if (typeof window["hideM4QVersion"] === "undefined") console.info("m4q "+$.version);

// Source: src/interval.js

Expand Down Expand Up @@ -1858,7 +1858,6 @@ $.fn.extend({

if (index !== undefined && $.events[index].handler) {
el.removeEventListener(name, $.events[index].handler, $.events[index].options);

$.events[index].handler = null;
}

Expand Down Expand Up @@ -3794,7 +3793,7 @@ var normalizeComponentName = function(name){
var Metro = {

version: "4.3.4",
compileTime: "21/11/2019 18:30:54",
compileTime: "24/11/2019 13:31:43",
buildNumber: "742",
isTouchable: isTouch,
fullScreenEnabled: document.fullscreenEnabled,
Expand Down
4 changes: 2 additions & 2 deletions build/js/metro.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/js/metro.min.js.map

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions source/m4q/m4q.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ function normalizeEventName(name) {

// Source: src/core.js

var m4qVersion = "v1.0.4. Built at 20/11/2019 10:29:25";
var m4qVersion = "v1.0.4. Built at 24/11/2019 13:28:24";
var regexpSingleTag = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;

var matches = Element.prototype.matches
Expand Down Expand Up @@ -606,7 +606,7 @@ $.extend = $.fn.extend = function(){
return target;
};

if (typeof window["hideM4QVersion"] === "undefined") console.log("m4q "+$.version);
if (typeof window["hideM4QVersion"] === "undefined") console.info("m4q "+$.version);

// Source: src/interval.js

Expand Down Expand Up @@ -1847,7 +1847,6 @@ $.fn.extend({

if (index !== undefined && $.events[index].handler) {
el.removeEventListener(name, $.events[index].handler, $.events[index].options);
console.log($.events[index]);
$.events[index].handler = null;
}

Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/metro-all.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:45
* Built at 24/11/2019 13:31:35
* Licensed under MIT
*/
html,
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/metro-animations.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.ani-spin,
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/metro-colors.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.op-default {
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/metro-icons.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
@font-face {
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/metro-rtl.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.accordion.rtl.material > .frame > .heading,
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/metro-third.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.sorting,
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/metro.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
html,
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/schemes/darcula.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/schemes/red-alert.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/schemes/red-dark.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/schemes/red-mirohost.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
2 changes: 1 addition & 1 deletion test/metro/css/schemes/sky-net.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:38
* Built at 24/11/2019 13:31:28
* Licensed under MIT
*/
.bg-scheme {
Expand Down
9 changes: 4 additions & 5 deletions test/metro/js/metro.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Metro 4 Components Library v4.3.4 (https://metroui.org.ua)
* Copyright 2012-2019 Sergey Pimenov
* Built at 21/11/2019 18:30:45
* Built at 24/11/2019 13:31:35
* Licensed under MIT
*/

Expand Down Expand Up @@ -563,7 +563,7 @@ function normalizeEventName(name) {

// Source: src/core.js

var m4qVersion = "v1.0.4. Built at 20/11/2019 10:29:25";
var m4qVersion = "v1.0.4. Built at 24/11/2019 13:28:24";
var regexpSingleTag = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;

var matches = Element.prototype.matches
Expand Down Expand Up @@ -617,7 +617,7 @@ $.extend = $.fn.extend = function(){
return target;
};

if (typeof window["hideM4QVersion"] === "undefined")
if (typeof window["hideM4QVersion"] === "undefined") console.info("m4q "+$.version);

// Source: src/interval.js

Expand Down Expand Up @@ -1858,7 +1858,6 @@ $.fn.extend({

if (index !== undefined && $.events[index].handler) {
el.removeEventListener(name, $.events[index].handler, $.events[index].options);

$.events[index].handler = null;
}

Expand Down Expand Up @@ -3794,7 +3793,7 @@ var normalizeComponentName = function(name){
var Metro = {

version: "4.3.4",
compileTime: "21/11/2019 18:30:54",
compileTime: "24/11/2019 13:31:43",
buildNumber: "742",
isTouchable: isTouch,
fullScreenEnabled: document.fullscreenEnabled,
Expand Down
4 changes: 2 additions & 2 deletions test/metro/js/metro.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/metro/js/metro.min.js.map

Large diffs are not rendered by default.

0 comments on commit f0d5786

Please sign in to comment.