Last active
August 29, 2015 13:55
-
-
Save JogoShugh/8700554 to your computer and use it in GitHub Desktop.
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
[ | |
{ | |
"id": "json", | |
"title": "Meta JSON", | |
"content": "", | |
"mode": "json", | |
"url": "https:\/\/ec2-54-227-126-9.compute-1.amazonaws.com\/VersionOne\/meta.v1\/Story?accept=application\/json" | |
}, | |
{ | |
"id": "xml", | |
"title": "Meta XML", | |
"content": "", | |
"mode": "xml", | |
"url": "https:\/\/ec2-54-227-126-9.compute-1.amazonaws.com\/VersionOne\/meta.v1\/Story" | |
} | |
] |
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
<div ng-app ng-controller="tabsController"> | |
<h1>Click a tab below to see VersionOne Meta examples in different formats:</h1> | |
<ul class="nav nav-pills"> | |
<li ng-click="selectTab(tab)" ng-repeat="tab in tabs"> | |
<a data-toggle="tab" href="#{{tab.id}}_sample">{{tab.title}}</a> | |
</li> | |
</ul> | |
<div class="tab-content"> | |
<div class="tab-pane codeSample" id="{{tab.id}}_sample" ng-repeat="tab in tabs"> | |
ACE: | |
<div ui-ace="{ | |
useWrapMode : true, | |
showGutter: false, | |
theme:'twilight', | |
mode: '{{tab.mode}}' | |
}">{{tab.content}}</div></div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment