mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-24 00:58:53 +00:00
- CPPlatform.j and CPPlatformString.j: the PLATFORM(DOM) gates and CommonJS #else subclasses removed; one implementation serves both targets - CPPlatform: isBrowser and supportsDragAndDrop return NO when no DOM is present, preserving the CommonJS results exactly; the NativeHost distinction (window.cpIsDesktop) is unchanged - CPPlatformString: createDOMElements, charPositionOfString, sizeOfString and metricsOfFont return the former CommonJS-branch values (no-op / zero / zero size / zero metrics) when no DOM is present - work-in-progress towards complete removal of CPP directives