This repository has been archived by the owner on Aug 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from firebug/feature/query-string-parsing
Query String parsing
- Loading branch information
Showing
8 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* See license.txt for terms of usage */ | ||
|
||
"use strict"; | ||
|
||
define(function (require, exports) { | ||
// Dependencies | ||
const React = require("react"); | ||
|
||
// Firebug SDK | ||
const { Reps } = require("reps/repository"); | ||
const { TreeView } = require("reps/tree-view"); | ||
|
||
// Shortcuts | ||
const { DIV } = Reps.DOM; | ||
|
||
/** | ||
* Component responsible for rendering the Query String tab. | ||
*/ | ||
let QueryStringTab = React.createClass({ | ||
/** @lends QueryStringTab */ | ||
|
||
displayName: "QueryStringTab", | ||
|
||
render: function () { | ||
let selectedFrame = this.props.selection || {}; | ||
let data = selectedFrame.queryString; | ||
|
||
return ( | ||
DIV({className: "details"}, | ||
TreeView({key: "QueryStringTabTree", data: data}) | ||
) | ||
); | ||
} | ||
}); | ||
|
||
// Exports from this module | ||
exports.QueryStringTab = QueryStringTab; | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters