...
 
Commits (2)
/* /*
* KSS-RPC v0.20-beta * KSS-RPC v0.21-beta
* *
* Copyright (c) 2017, joonis new media * Copyright (c) 2017, joonis new media
* Author: Thimo Kraemer <thimo.kraemer@joonis.de> * Author: Thimo Kraemer <thimo.kraemer@joonis.de>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
******************************************************************************************/ ******************************************************************************************/
var kss = { var kss = {
version: '0.20-beta', version: '0.21-beta',
_initialized: false, _initialized: false,
_ruleSheets: {}, _ruleSheets: {},
_eventBinders: {}, _eventBinders: {},
...@@ -919,9 +919,9 @@ kss._EventHandler.prototype = { ...@@ -919,9 +919,9 @@ kss._EventHandler.prototype = {
|| !(/^(".*"|'.*'|\[.*\]|\{.*\}|true|false|null|[\d.]+)$|\(.*\)/).test(value)) { || !(/^(".*"|'.*'|\[.*\]|\{.*\}|true|false|null|[\d.]+)$|\(.*\)/).test(value)) {
return value; return value;
} }
var expr = value.replace(/\\["']|["'](?:\\["']|[^"'])*["']|([\w.$]+\s*\()/g, var expr = value.replace(/\\["']|["'](?:\\["']|[^"'])*["']|([\w$.][\w$.\s]*\()/g,
function(m, g1) { function(m, g1) {
if (!g1) return m; if (!g1 || g1[0] == '.') return m;
m = 'kss._paramProviders.' + m; m = 'kss._paramProviders.' + m;
m = m.replace('(', '.call(this,this.node,'); m = m.replace('(', '.call(this,this.node,');
return m; return m;
......
This diff is collapsed.