dropkiq
Version:
Liquid Expressions Simplified
1 lines • 996 B
JavaScript
;var __extends=this&&this.__extends||function(){var t=function(r,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])})(r,e)};return function(r,e){function o(){this.constructor=r}t(r,e),r.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(exports,"__esModule",{value:!0});var drop_1=require("./drop"),underscore_1=require("../util/underscore"),EmptyDrop=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.equals=function(t){return underscore_1.isString(t)||underscore_1.isArray(t)?0===t.length:!!underscore_1.isObject(t)&&0===Object.keys(t).length},r.prototype.gt=function(){return!1},r.prototype.geq=function(){return!1},r.prototype.lt=function(){return!1},r.prototype.leq=function(){return!1},r.prototype.valueOf=function(){return""},r}(drop_1.Drop);exports.EmptyDrop=EmptyDrop;