[Commits] r2460 - core/branches/1.0/docsrc/_theme/geoext/static
commits at geoext.org
commits at geoext.org
Mon Oct 11 22:17:18 CEST 2010
Author: ahocevar
Date: 2010-10-11 22:17:18 +0200 (Mon, 11 Oct 2010)
New Revision: 2460
Added:
core/branches/1.0/docsrc/_theme/geoext/static/builder-v1.0.js
Modified:
core/branches/1.0/docsrc/_theme/geoext/static/examples.js
Log:
added builder.js and pulled up r2443 from trunk.
Added: core/branches/1.0/docsrc/_theme/geoext/static/builder-v1.0.js
===================================================================
--- core/branches/1.0/docsrc/_theme/geoext/static/builder-v1.0.js (rev 0)
+++ core/branches/1.0/docsrc/_theme/geoext/static/builder-v1.0.js 2010-10-11 20:17:18 UTC (rev 2460)
@@ -0,0 +1,47 @@
+builder.modules = {
+ "GeoExt/widgets": {
+ title: "General",
+ description: "General widget components.",
+ prefix: "GeoExt"
+ },
+ "GeoExt/widgets/form": {
+ title: "Form",
+ description: "Components for assembling forms.",
+ prefix: "GeoExt.form"
+ },
+ "GeoExt/widgets/grid": {
+ title: "Grid",
+ description: "Components related to grid widgets.",
+ prefix: "GeoExt.grid"
+ },
+ "GeoExt/widgets/tips": {
+ title: "Tips",
+ description: "Custom tool tips.",
+ prefix: "GeoExt"
+ },
+ "GeoExt/widgets/tree": {
+ title: "Tree",
+ description: "Components related to tree nodes.",
+ prefix: "GeoExt.tree"
+ },
+ "GeoExt/data": {
+ title: "Data",
+ description: "Utilities for working with records and stores.",
+ prefix: "GeoExt.data"
+ },
+ "GeoExt/plugins": {
+ title: "Plugins",
+ description: "Plugins to enhance functionality of other components.",
+ prefix: "GeoExt.plugins"
+ },
+ "GeoExt/state": {
+ title: "State",
+ description: "Utilities for encoding and decoding state representations.",
+ prefix: "GeoExt.state"
+ },
+ "overrides": {
+ title: "Overrides",
+ description: "Independent overrides of Ext provided functionality.",
+ prefix: ""
+ }
+};
Modified: core/branches/1.0/docsrc/_theme/geoext/static/examples.js
===================================================================
--- core/branches/1.0/docsrc/_theme/geoext/static/examples.js 2010-10-11 19:49:20 UTC (rev 2459)
+++ core/branches/1.0/docsrc/_theme/geoext/static/examples.js 2010-10-11 20:17:18 UTC (rev 2460)
@@ -1,6 +1,12 @@
Ext.onReady(function() {
var blocks = Ext.select("div.exampleblock");
- var exbase = "http://dev.geoext.org/trunk/geoext/examples/";
+ var loc = window.location.href;
+ var exbase = "../examples/"
+ if (/^http:\/\/(www\.)?geoext.org\/examples.html/.test(loc)) {
+ exbase = "http://api.geoext.org/" + docversion + "/examples/";
+ } else if (/^http:\/\/dev.geoext.org\/docs\/examples.html/.test(loc)) {
+ exbase = "http://dev.geoext.org/trunk/geoext/examples/";
+ }
blocks.each(function(el) {
el.wrap({
tag: "a",
More information about the Commits
mailing list