Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Jan 9, 2021
1 parent cb26203 commit 01b3704
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
13 changes: 6 additions & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
/*!
* name: @jswork/next-splitlines
* description: Split string by `
* description: Split string by `
` or `
` or `
` for next.
` or `` for next.
* homepage: https://github.com/afeiship/next-splitlines
* version: 1.0.0
* date: 2020-11-25 13:30:18
* version: 1.0.1
* date: 2021-01-09 16:36:45
* license: MIT
*/

(fvar global = typeof window !== 'undefined' ? window : this || Function('return this')();
var global = global || this || window || Function('return this')();
(function () {
var global = typeof window !== 'undefined' ? window : this || Function('return this')();
var nx = global.nx || require('@jswork/next');

nx.splitlines = function (inString) {
Expand Down
6 changes: 3 additions & 3 deletions dist/index.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
` or `
` for next.
* homepage: https://github.com/afeiship/next-splitlines
* version: 1.0.0
* date: 2020-11-25 13:30:18
* version: 1.0.1
* date: 2021-01-09 16:36:45
* license: MIT
*/
!function(){var e=(this||window||Function("return this")()).nx||require("@jswork/next");e.splitlines=function(e){return e&&e.replace(/\r\n/g,"\r").replace(/\n/g,"\r").split(/\r/)},"undefined"!=typeof module&&module.exports&&(module.exports=e.splitlines)}();
!function(){var e=("undefined"!=typeof window?window:this||Function("return this")()).nx||require("@jswork/next");e.splitlines=function(e){return e&&e.replace(/\r\n/g,"\r").replace(/\n/g,"\r").split(/\r/)},"undefined"!=typeof module&&module.exports&&(module.exports=e.splitlines)}();
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jswork/next-splitlines",
"version": "1.0.0",
"version": "1.0.1",
"description": "Split string by `\r\n` or `\n` or `\r` for next.",
"homepage": "https://github.com/afeiship/next-splitlines",
"author": {
Expand Down Expand Up @@ -46,4 +46,4 @@
"lines",
"splitlines"
]
}
}

0 comments on commit 01b3704

Please sign in to comment.