Commit 6f88f6d5 authored by Nick Poulden's avatar Nick Poulden
Browse files

Allow absolute example URLs to be specified

parent 01f14f81
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -52,9 +52,10 @@ Ext.define('Docs.view.examples.TouchContainer', {
     * @param {Object} example Example object
     */
    load: function(example) {
        var url = example.externalUrl || (this.exampleBaseUrl + example.url);
        this.title = example.text + " Example";
        this.device = Ext.create('Docs.view.examples.Device', {
            url: this.exampleBaseUrl + example.url,
            url: url,
            device: example.device || "phone",
            orientation: example.orientation || "landscape"
        });
+1 −1

File changed.

Contains only whitespace changes.