tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-02-09 19:12:05 +03:00
parent ddb0c821ef
commit fdb75bf3f7
3 changed files with 6 additions and 4 deletions

View File

@ -2522,6 +2522,9 @@ var makeInfoItem = function(container, cls, align, full_only){
var ImageStateIndicatorActions = actions.Actions({ var ImageStateIndicatorActions = actions.Actions({
get moo(){ return 321 },
foo: 123,
updateStateIndicators: ['- Interface/', updateStateIndicators: ['- Interface/',
function(gid){ function(gid){
gid = gid || this.current gid = gid || this.current

View File

@ -42,7 +42,7 @@ var object = require('lib/object')
// v ^ // v ^
// Actions o-------x o-------x // Actions o-------x o-------x
// v ^ // v ^
// Root Action o-------x // Root Action o---|---x
// //
// - a method, created by Action(..), // - a method, created by Action(..),
// - calls all the shadowed/overloaded actions in the inheritance // - calls all the shadowed/overloaded actions in the inheritance
@ -311,6 +311,7 @@ Action.prototype.__proto__ = Function
// This will define a set of action-set specific methods and helpers. // This will define a set of action-set specific methods and helpers.
// //
// XXX .off(...) needs more work... // XXX .off(...) needs more work...
// XXX need a mechanism to publish specific attrs...
var MetaActions = var MetaActions =
module.MetaActions = { module.MetaActions = {
// List actions... // List actions...
@ -822,7 +823,7 @@ module.MetaActions = {
// //
// This will pre-process an object to setup the action mechanics. // This will pre-process an object to setup the action mechanics.
// //
// If the this and prototype both contain a .config attribute then this // If the 'this and prototype both contain a .config attribute then this
// will make set <actions>.config.__proto__ = <prototype>.config // will make set <actions>.config.__proto__ = <prototype>.config
// //
// //

View File

@ -1755,8 +1755,6 @@ var BrowserPrototype = {
} }
var path = this.path var path = this.path
//var txt = quoteWS(elem.find('.text').text())
//var txt = '"'+ elem.find('.text').text() +'"'
// XXX do we need qotes here??? // XXX do we need qotes here???
//path.push('"'+ elem.find('.text').text() +'"') //path.push('"'+ elem.find('.text').text() +'"')
path.push(elem.find('.text').text()) path.push(elem.find('.text').text())