client/js/require-utils.js
author durandn
Thu, 21 Apr 2016 15:18:19 +0200
changeset 605 13d355fd09bf
parent 293 fba23fde14ba
permissions -rw-r--r--
updated uri to allow optional trailing slash on single resource URIs (django automatic redirects don't carry over the Authorization header that can sometimes be needed, for instance with OAuth)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
284
fa8035885814 build renderer with require js
cavaliet
parents:
diff changeset
     1
define([], function ($, _) {
293
fba23fde14ba Correct jshint errors and force it on build
ymh <ymh.work@gmail.com>
parents: 290
diff changeset
     2
    'use strict';
284
fa8035885814 build renderer with require js
cavaliet
parents:
diff changeset
     3
    return {
fa8035885814 build renderer with require js
cavaliet
parents:
diff changeset
     4
        getUtils: function(){
fa8035885814 build renderer with require js
cavaliet
parents:
diff changeset
     5
            return window.Rkns.Utils;
fa8035885814 build renderer with require js
cavaliet
parents:
diff changeset
     6
        },
fa8035885814 build renderer with require js
cavaliet
parents:
diff changeset
     7
        getRenderer: function(){
fa8035885814 build renderer with require js
cavaliet
parents:
diff changeset
     8
            return window.Rkns.Renderer;
fa8035885814 build renderer with require js
cavaliet
parents:
diff changeset
     9
        }
290
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    10
    };
293
fba23fde14ba Correct jshint errors and force it on build
ymh <ymh.work@gmail.com>
parents: 290
diff changeset
    11
fba23fde14ba Correct jshint errors and force it on build
ymh <ymh.work@gmail.com>
parents: 290
diff changeset
    12
});