dartfx 1.0.4
dartfx: ^1.0.4 copied to clipboard
A simple lightly function expression runer for dart and javascript.
1.0.4 #
- Update License.
- Rename
fxSetFunctionApplytofxSetFunctionResolver.
1.0.3 #
- Support custom resolver.
- Add
fxSetFunctionApply((List args){})method.
1.0.2 #
- Add some internal functions
num ABS(num a)double AVERAGE(List<num> list)String FIXED(num a, int digit)int INTCEIL(num a)int INTFLOOR(num a)bool ISEMPTY(dynamic a),ais one ofString, List, Mapnum MAX(num a, num b, [num c, ...])num MIN(num a, num b, [num c, ...])bool REGMATCH(String source, r{String reg}). Theregargument need prefix charr. Liker"1[0-9]\d{9}$"String SUBSTRING(String s, int start, [int length])String REPLACESTRING(String soruce, String old, String new)num SUM(List<num> list)String TIMEFORMAT(int timestamp, String pattern)int TIMESTAMP(String dateString, String pattern)num VALUE(String a)
- Add
fxAssignment(string, map)method.
1.0.1 #
- Support double
$variable. eg:$user.name$. - Add
fx(string)和fxWithEnvs(string, map)method. - Unit Test Case.
- Build javascript library:
jsfx. - JS Unit Test Case.