Permalink
Browse files

Reworked JSON inclusion

  • Loading branch information...
1 parent 43f53ac commit 214240ab3be15fd58a3963d7c424b7b47695cc17 @Artazor Artazor committed May 23, 2012
Showing with 3 additions and 0 deletions.
  1. +2 −0 lib/js/json2.js
  2. +1 −0 object/page_view.php
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -3,6 +3,7 @@
<?
$assets->js->addRemote('http://code.jquery.com/jquery-1.7.1.min.js');
$assets->js->addRemote('http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js');
+ $assets->js->addRemote($this->scope->lib->path('js/json2.js'));
try {
$body = $this->get_view();
$less = $assets->less->compile();

0 comments on commit 214240a

Please sign in to comment.