rmr-util 1.1.132 → 1.1.134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +15 -38
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -681,44 +681,21 @@
681
681
  return n;
682
682
  },
683
683
 
684
- // *
685
- // * Make loader
686
- // *
687
- // * @return {String} SVG element
688
- // */
689
- // loader = function() {
690
- //
691
- //
692
- // const svg = makeElement('svg', {
693
- // version: '1.1',
694
- // class: 'rmr-loader',
695
- // xmlns: 'http://www.w3.org/2000/svg',
696
- // 'xmlns:xlink': 'http://www.w3.org/1999/xlink',
697
- // x: '0px',
698
- // y: '0px',
699
- // width: '40px',
700
- // height: '40px',
701
- // viewBox: '0 0 40 40',
702
- // 'enable-background': 'new 0 0 40 40',
703
- // 'xml:space': 'preserve'
704
- // });
705
- //
706
- // svg.innerHTML =
707
- // '<path opacity="0.2" fill="#000" d="M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946 s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634 c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"></path>' +
708
- // '<path fill="#000" d="M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0 C22.32,8.481,24.301,9.057,26.013,10.047z">' +
709
- // '<animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 20 20" to="360 20 20" dur="0.8s" repeatCount="indefinite"></animateTransform>' +
710
- // '</path>';
711
- // */
712
- //
713
- // return '<svg version="1.1" class="rmr-loader" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="40px" height="40px" viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve">' +
714
- // '<path opacity="0.2" fill="#000" d="M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946 s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634 c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"></path>' +
715
- // '<path fill="#000" d="M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0 C22.32,8.481,24.301,9.057,26.013,10.047z">' +
716
- // '<animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 20 20" to="360 20 20" dur="0.8s" repeatCount="indefinite"></animateTransform>' +
717
- // '</path>' +
718
- // '</svg>';
719
- //
720
- // // return svg;
721
- // },
684
+ /**
685
+ *
686
+ * Make loader
687
+ *
688
+ * @return {String} SVG element
689
+ */
690
+ loader = function() {
691
+
692
+ return '<svg version="1.1" class="rmr-loader" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="40px" height="40px" viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve">' +
693
+ '<path opacity="0.2" fill="#000" d="M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946 s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634 c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"></path>' +
694
+ '<path fill="#000" d="M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0 C22.32,8.481,24.301,9.057,26.013,10.047z">' +
695
+ '<animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 20 20" to="360 20 20" dur="0.8s" repeatCount="indefinite"></animateTransform>' +
696
+ '</path>' +
697
+ '</svg>';
698
+ },
722
699
 
723
700
 
724
701
  // *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rmr-util",
3
- "version": "1.1.132",
3
+ "version": "1.1.134",
4
4
  "description": "JS & CSS for your browser",
5
5
  "url": "https://davidfmiller.github.io/rmr-util/",
6
6
  "license": "ISC",