nitweb: migrate frontend to new json/commands
[nit.git] / share / nitweb / views / doc / code.html
index 48f4282..517bf47 100644 (file)
@@ -1,6 +1,6 @@
 <div class='card'>
        <div class='card-body'>
-               <pre ng-bind-html='vm.code' />
-               <entity-location mentity='vm.mentity' />
+               <pre ng-bind-html='vm.code.code' />
+               <entity-location loc='vm.code.location' />
        </div>
 </div>