axj-ab_ 1.0.10 → 1.0.11

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 +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -223,7 +223,7 @@ var ab_ = {
223
223
  },
224
224
  nextT: function () {
225
225
  var t = ab_.time();
226
- if (t < _nextT) {
226
+ if (t <= _nextT) {
227
227
  t = ++_nextT;
228
228
  }
229
229
  else {
@@ -947,6 +947,9 @@ var ab_ = {
947
947
  return i >= len ? '' : name.substr(0, i);
948
948
  },
949
949
  aNameC: function (a, name, underline) {
950
+ if (name && name[0] === "@") {
951
+ return name.substr(1);
952
+ }
950
953
  if (!a || !name) {
951
954
  return name;
952
955
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axj-ab_",
3
3
  "type": "commonjs",
4
- "version": "1.0.10",
4
+ "version": "1.0.11",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {