From 6f13479c0eebdaab424499c95892d3bb49a5509b Mon Sep 17 00:00:00 2001 From: nobody42 <5514211-nobody42@users.noreply.gitlab.com> Date: Thu, 26 Mar 2020 07:20:34 +0100 Subject: [PATCH] Added animate.css v3.7.2 --- core/files.js | 3 +++ core/mappings.js | 1 + core/resources.js | 5 +++++ modules/internal/helpers.js | 4 ++++ pages/updates/updates.html | 8 ++++++-- resources/animate.css/3.7.2/animate.min.cssm | 11 +++++++++++ 6 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 resources/animate.css/3.7.2/animate.min.cssm diff --git a/core/files.js b/core/files.js index 3b9373b5..f6389fd0 100644 --- a/core/files.js +++ b/core/files.js @@ -29,6 +29,9 @@ var files = { 'resources/angularjs/1.7.9/angular-cookies.min.jsm': true, 'resources/angularjs/1.7.9/angular-touch.min.jsm': true, + // Animate CSS + 'resources/animate.css/3.7.2/animate.min.cssm': true, + // Backbone.js 'resources/backbone.js/0.9.10/backbone-min.jsm': true, 'resources/backbone.js/1.4.0/backbone-min.jsm': true, diff --git a/core/mappings.js b/core/mappings.js index ba3df4ec..4a8d2311 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -66,6 +66,7 @@ var mappings = { 'cdnjs.cloudflare.com': { '/ajax/libs/': { 'angular.js/{version}/angular.': resources.angular, + 'animate.css/{version}/animate.min.': resources.animateCSS, 'backbone.js/{version}/backbone.': resources.backbone, 'backbone.js/{version}/backbone-min.': resources.backbone, 'bootstrap-slider/{version}/css/bootstrap-slider.min.': resources.bootstrapSlider, diff --git a/core/resources.js b/core/resources.js index 2038a332..b459919b 100644 --- a/core/resources.js +++ b/core/resources.js @@ -40,6 +40,11 @@ var resources = { 'path': 'resources/angularjs/{version}/angular-touch.min.jsm', 'type': 'application/javascript' }, + // Animate CSS + 'animateCSS': { + 'path': 'resources/animate.css/{version}/animate.cssm', + 'type': 'text/css' + }, // Backbone.js 'backbone': { 'path': 'resources/backbone.js/{version}/backbone-min.jsm', diff --git a/modules/internal/helpers.js b/modules/internal/helpers.js index 37fd7d36..53fe1988 100644 --- a/modules/internal/helpers.js +++ b/modules/internal/helpers.js @@ -206,6 +206,8 @@ helpers.determineResourceName = function (filename) { return 'AngularJS Sanitize'; case 'angular-touch.min.jsm': return 'AngularJS Touch'; + case 'animate.cssm': + return 'Animate CSS' case 'backbone-min.jsm': return 'Backbone.js'; case 'bootstrap.min.cssm': @@ -304,6 +306,8 @@ helpers.setLastVersion = function (type, versionNumber) { } if (type.includes('/angularjs/1.')) { version = '1.7.9'; + } else if (type.includes('/animate.css/3.')) { + version = '3.7.2'; } else if (type.includes('/backbone.js/0.')) { version = '0.9.10'; } else if (type.includes('/backbone.js/1.')) { diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 554bccc2..ddea78fd 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -23,8 +23,7 @@ New in LocalCDN:
Please update your uBlock/uMatrix rules @@ -41,6 +40,11 @@

History

+

2020-03-25 (v2.1.7)


+

2020-03-25 (v2.1.7)