Skip to content

Commit

Permalink
Merge branch 'master' into typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
al42and committed Apr 20, 2020
2 parents 955d265 + d79cc93 commit 7f9e878
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions browser/app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
define('app', [
'jquery', 'backbone', 'backbone.marionette', 'socket.io-client',
'jquery', 'underscore', 'backbone', 'backbone.marionette', 'socket.io-client',
'map', 'vent', 'reqres', 'models', 'views/panel', 'views/map', 'config', 'utils/isMobile'
], function ($, backbone, marionette, io, map, vent, reqres, models, panelViews, mapViews, config, isMobile) {
], function ($, _, backbone, marionette, io, map, vent, reqres, models, panelViews, mapViews, config, isMobile) {

var App = marionette.Application.extend({
initData: function () {
Expand Down
2 changes: 1 addition & 1 deletion browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>Manula Tracker</title>
<script src="http://api-maps.yandex.ru/2.1-dev/?load=package.full&lang=ru-RU" type="text/javascript"></script>
<script src="https://api-maps.yandex.ru/2.1-dev/?load=package.full&lang=ru-RU" type="text/javascript"></script>
<meta charset="UTF-8">
<!-- build:template
<script src="scripts-<%= revision %>.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"grunt-contrib-cssmin": "~3.0.0",
"grunt-contrib-requirejs": "~1.0.0",
"grunt-processhtml": "~0.4.2",
"underscore": "^1.6.0",
"underscore": "1.9.2",
"almond": "~0.3.3",
"raven-js": "^1.1.15",
"requirejs": "~2.3.6",
Expand All @@ -27,7 +27,7 @@
"backbone.wreqr": "1.4.0",
"backbone.marionette": "2.1.0",
"backbone.modelbinder": "1.1.0",
"jquery-simple-color": "recurser/jquery-simple-color#^1.2.2",
"jquery-simple-color": "recurser/jquery-simple-color#1.2.1",
"requirejs-json": "~0.0.3"
},
"repository": {
Expand Down
5 changes: 4 additions & 1 deletion browser/require.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ require.config({
'jquery-simple-color': {
deps: ['jquery'],
exports: '$.fn.simpleColor'
}
},
'underscore': {
exports: '_'
},
}
});

0 comments on commit 7f9e878

Please sign in to comment.