Skip to content

Commit

Permalink
- upgrade modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zbryikt committed Mar 15, 2021
1 parent dc00621 commit e80c3e3
Show file tree
Hide file tree
Showing 8 changed files with 3,620 additions and 1,528 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.1.0
# Change Log

# v1.1.1

- upgrade modules


# v1.1.0

- rename package.
9 changes: 5 additions & 4 deletions build
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/usr/bin/env bash
rm -rf dist
mkdir -p dist
echo "build src/ldrs.ls -> dist/ldrs.js ..."
./node_modules/.bin/lsc -cbp src/ldrs.ls > dist/ldrs.js
npx lsc -cbp --no-header src/ldrs.ls > dist/ldrs.js
echo "build src/ldrs.styl -> dist/ldrs.css ..."
./node_modules/.bin/stylus -p src/ldrs.styl > dist/ldrs.css
npx stylus -p src/ldrs.styl > dist/ldrs.css
echo "minifying ldrs.js ..."
./node_modules/.bin/uglifyjs dist/ldrs.js > dist/ldrs.min.js
npx uglifyjs dist/ldrs.js > dist/ldrs.min.js
echo "minifying ldrs.css ..."
./node_modules/.bin/uglifycss dist/ldrs.css > dist/ldrs.min.css
npx uglifycss dist/ldrs.css > dist/ldrs.min.css
echo "copy dist files to web ..."
mkdir -p web/static/assets/ldrs/
cp -R dist/* web/static/assets/ldrs/
Expand Down
11 changes: 7 additions & 4 deletions dist/ldrs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Generated by LiveScript 1.3.1
var ldSlider, slice$ = [].slice;
var ldSlider;
ldSlider = function(opt){
var root, i$, to$, i, that, handle, el, mouse, this$ = this;
opt == null && (opt = {});
Expand Down Expand Up @@ -75,8 +74,12 @@ ldSlider.prototype = import$(Object.create(Object.prototype), {
return ((ref$ = this.evtHandler)[n] || (ref$[n] = [])).push(cb);
},
fire: function(n){
var v, i$, ref$, len$, cb, results$ = [];
v = slice$.call(arguments, 1);
var v, res$, i$, to$, ref$, len$, cb, results$ = [];
res$ = [];
for (i$ = 1, to$ = arguments.length; i$ < to$; ++i$) {
res$.push(arguments[i$]);
}
v = res$;
for (i$ = 0, len$ = (ref$ = this.evtHandler[n] || []).length; i$ < len$; ++i$) {
cb = ref$[i$];
results$.push(cb.apply(this, v));
Expand Down
2 changes: 1 addition & 1 deletion dist/ldrs.min.js

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

Loading

0 comments on commit e80c3e3

Please sign in to comment.