monaca-lib
Version:
Monaca cloud API bindings for JavaScript
29 lines (25 loc) • 705 B
JavaScript
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @constructor
* @extends {WebInspector.App}
*/
WebInspector.SimpleApp = function()
{
WebInspector.App.call(this);
};
WebInspector.SimpleApp.prototype = {
/**
* @param {!Document} document
* @override
*/
presentUI: function(document)
{
var rootView = new WebInspector.RootView();
WebInspector.inspectorView.show(rootView.element);
WebInspector.inspectorView.showInitialPanel();
rootView.attachToDocument(document);
},
__proto__: WebInspector.App.prototype
};