- Timestamp:
- Mar 12, 2008 5:38:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tcl/scripts/library.tcl
r842 r954 41 41 } 42 42 set obj [lindex $args 1] 43 if {[catch {$obj isa ::Rappture::LibraryObj} valid] == 0 && $valid} { 43 # 44 # BE CAREFUL with the object test: 45 # The command should look like a LibraryObj formed by #auto. 46 # We want to avoid things like "split" or "set", which are 47 # valid Tcl commands but won't respond well to isa. 48 # 49 if {[regexp {libraryObj[0-9]+$} $obj] 50 && [catch {$obj isa ::Rappture::LibraryObj} valid] == 0 51 && $valid} { 44 52 return 1 45 53 }
Note: See TracChangeset
for help on using the changeset viewer.