Skip to content

Instantly share code, notes, and snippets.

@JogoShugh
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JogoShugh/8700554 to your computer and use it in GitHub Desktop.
Save JogoShugh/8700554 to your computer and use it in GitHub Desktop.
[
{
"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"
}
]
<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