Comparing version 0.1.2 to 0.1.3
@@ -13,2 +13,4 @@ (function() { | ||
this.body = body.trim(); | ||
this._over1000 = false; | ||
this._abone = false; | ||
if (dateAndId === 'Over 1000 Thread') { | ||
@@ -18,2 +20,6 @@ this.postedAt = moment(); | ||
this._over1000 = true; | ||
} else if (dateAndId === 'あぼーん') { | ||
this.postedAt = moment(); | ||
this.tripId = ''; | ||
this._abone = true; | ||
} else { | ||
@@ -23,3 +29,2 @@ strs = dateAndId.split(' '); | ||
this.tripId = strs[2].replace(/^ID:/, ''); | ||
this._over1000 = false; | ||
} | ||
@@ -32,2 +37,6 @@ } | ||
Message.prototype.isAboneMessage = function() { | ||
return this._abone; | ||
}; | ||
return Message; | ||
@@ -34,0 +43,0 @@ |
{ | ||
"name": "2ch", | ||
"description": "A JavaScript library for comfortable 2ch watching.", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/shiwano/2ch", | ||
@@ -54,3 +54,3 @@ "author": { | ||
}, | ||
"keywords": [] | ||
"keywords": ["2ch"] | ||
} |
@@ -136,2 +136,3 @@ # 2ch [![Build Status](https://secure.travis-ci.org/shiwano/2ch.png?branch=master)](http://travis-ci.org/shiwano/2ch) | ||
## Release History | ||
* 2013-11-20 v0.1.3 Fix deleted messages bug. | ||
* 2013-09-14 v0.1.2 Remove cheerio. | ||
@@ -138,0 +139,0 @@ * 2013-06-19 v0.1.1 Modified it. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
144
30950
20
457