Sha256: 3f82e5f4ebb56e2aad2788bf5640a93f4719c34ccf12c37fa0b8162ce010587b

Contents?: true

Size: 630 Bytes

Versions: 8

Compression:

Stored size: 630 Bytes

Contents

rio.apps.console = rio.Application.create("Console", {
	require: ["lib/console/pages/console_page"],
	requireCss: ["css_reset", "console"],
	routes: {
		"": "consolePage"
	},
	methods: {
		initialize: function() {
			rio.log = opener.rio.log;
		},

		consolePage: function() {
			var consolePage = new rio.pages.ConsolePage();
		
			window.log = function(msg, className, prefix) {
				consolePage.log(msg, className, prefix);
			}
			window.setApplication = function(options) {
				consolePage.setApplication(options);
			}
			window.touch = function(files) {
				consolePage.touch(files);
			}

			return consolePage;
		}
	}
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
riojs-0.0.7 public/javascripts/lib/console/apps/console.js
riojs-0.0.6 public/javascripts/lib/console/apps/console.js
riojs-0.0.5 public/javascripts/lib/console/apps/console.js
riojs-0.0.4 public/javascripts/lib/console/apps/console.js
riojs-0.0.3 public/javascripts/lib/console/apps/console.js
riojs-0.0.2 public/javascripts/lib/console/apps/console.js
riojs-0.0.1 public/javascripts/lib/console/apps/console.js
riojs-0.0.0 public/javascripts/lib/console/apps/console.js