1
0
Fork 0
forked from 0x2620/oxjs

update Ox.URL

This commit is contained in:
rlx 2011-09-22 03:20:27 +00:00
commit 2cb6d89a0a
3 changed files with 315 additions and 106 deletions

View file

@ -49,22 +49,26 @@ Ox.Filter = function(options, self) {
self.conditionOperators = {
date: [
{id: '', title: 'is'},
{id: '!', title: 'is not'},
{id: '=', title: 'is'},
{id: '!=', title: 'is not'},
{id: '<', title: 'is before'},
{id: '!<', title: 'is not before'},
{id: '>', title: 'is after'},
{id: '!>', title: 'is not after'},
{id: '-', title: 'is between'},
{id: '!-', title: 'is not between'}
],
list: [
{id: '', title: 'is'},
{id: '!', title: 'is not'}
{id: '=', title: 'is'},
{id: '!=', title: 'is not'}
],
number: [
{id: '', title: 'is'},
{id: '!', title: 'is not'},
{id: '=', title: 'is'},
{id: '!=', title: 'is not'},
{id: '<', title: 'is less than'},
{id: '!<', title: 'is not less than'},
{id: '>', title: 'is greater than'},
{id: '!>', title: 'is not greater than'},
{id: '-', title: 'is between'},
{id: '!-', title: 'is not between'}/*,
{id: '^', title: 'starts with'},
@ -73,18 +77,18 @@ Ox.Filter = function(options, self) {
{id: '!$', title: 'does not end with'}*/
],
string: [
{id: '=', title: 'is'},
{id: '!=', title: 'is not'},
{id: '', title: 'contains'},
{id: '!', title: 'does not contain'},
{id: '==', title: 'is'},
{id: '!==', title: 'is not'},
{id: '=', title: 'contains'},
{id: '!=', title: 'does not contain'},
{id: '^', title: 'starts with'},
{id: '!^', title: 'does not start with'},
{id: '$', title: 'ends with'},
{id: '!$', title: 'does not end with'}
],
text: [
{id: '', title: 'contains'},
{id: '!', title: 'does not contain'}
{id: '=', title: 'contains'},
{id: '!=', title: 'does not contain'}
]
};
self.operators = [