just-carousel
Advanced tools
Comparing version 0.1.2 to 0.1.4
56
index.js
@@ -436,54 +436,4 @@ /* global module, window, document */ | ||
// | ||
// var symbol = 0; | ||
// var counter = 1; | ||
// var stringMain = ''; | ||
// | ||
// function rle1(str) { | ||
// var s = str; | ||
// | ||
// for (var i = 0; i < s.length; i++) { | ||
// if (s[i] == symbol) { | ||
// counter++; | ||
// } else { | ||
// if (symbol != 0) { | ||
// stringMain += symbol; | ||
// } | ||
// | ||
// if (counter > 1) { | ||
// stringMain += counter | ||
// } | ||
// | ||
// symbol = s[i]; | ||
// counter = 1; | ||
// | ||
// if (symbol === 'B') { | ||
// console.log(counter) | ||
// } | ||
// } | ||
// } | ||
// | ||
// return stringMain; | ||
// } | ||
// | ||
// rle1('AABBCC'); // A4B3C2XYZD4E3F3A6B28 | ||
// | ||
// function rle (string) { | ||
// var s = string; | ||
// var abc; | ||
// var xx = 0; | ||
// var result = ''; | ||
// | ||
// for (var i = 0; i < s.length; i++) { | ||
// if (s[i] === abc) { | ||
// xx ++; | ||
// } else { | ||
// result += abc; | ||
// if (xx > 0) { | ||
// | ||
// } | ||
// abc = s[i]; | ||
// xx = 0; | ||
// } | ||
// } | ||
// } | ||
if (typeof exports === 'object') { | ||
module.exports = JustCarousel; | ||
} |
{ | ||
"name": "just-carousel", | ||
"version": "0.1.2", | ||
"version": "0.1.4", | ||
"description": "Just an 1-item-on-screen carousel that works naturally like an iOS/android desktops and nothing else.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15508
337