client/js/require-utils.js
author rougeronj
Tue, 15 Sep 2015 12:24:58 +0200
changeset 521 0d9b3f1b97e7
parent 293 fba23fde14ba
permissions -rw-r--r--
Create new view id the current one isn't in the project or if it's the first one (so we let the first one always unchanged) Otherwise modify the current one
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
});