Permalink
Browse files

Fixed tern? Remove maps

  • Loading branch information...
1 parent 3a8ba24 commit 6035576388a2c6dc8aeeec14c1edc7d4890b2c20 @remy remy committed Jul 3, 2014
Showing with 7 additions and 7 deletions.
  1. +5 −5 Gruntfile.js
  2. +1 −1 public/js/jsbin.js
  3. +1 −1 scripts.json
View
@@ -50,7 +50,7 @@ module.exports = function (grunt) {
var distpaths = {
script: 'public/js/prod/<%= pkg.name %>-<%= pkg.version %>.js',
- map: 'public/js/prod/<%= pkg.name %>.map.json', // don't version this so we overwrite
+ // map: 'public/js/prod/<%= pkg.name %>.map.json', // don't version this so we overwrite
min: 'public/js/prod/<%= pkg.name %>-<%= pkg.version %>.min.js',
runner: 'public/js/prod/runner-<%= pkg.version %>.js',
runnermin: 'public/js/prod/runner-<%= pkg.version %>.min.js'
@@ -120,10 +120,10 @@ module.exports = function (grunt) {
options: {
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %> */\n',
- sourceMap: distpaths.map,
- sourceMappingURL: '/js/prod/jsbin.map.json',
- sourceMapPrefix: 2,
- sourceMapRoot: '/js',
+ // sourceMap: distpaths.map,
+ // sourceMappingURL: '/js/prod/jsbin.map.json',
+ // sourceMapPrefix: 2,
+ // sourceMapRoot: '/js',
},
src: distpaths.script, //'<%= scriptsRelative %>',
dest: distpaths.min
View
@@ -66,7 +66,7 @@ function exposeSettings() {
'static': jsbin['static']
}; // create the holding object
- if (jsbin.state.metadata && jsbin.user && jsbin.state.metadata.name === jsbin.user.name) {
+ if (jsbin.state.metadata && jsbin.user && jsbin.state.metadata.name === jsbin.user.name && jsbin.user.name) {
window.jsbin.settings = jsbin.settings;
return;
}
View
@@ -30,7 +30,6 @@
"/js/chrome/splitter.js",
"/js/chrome/analytics.js",
"/js/chrome/settings.js",
- "/js/editors/tern.js",
"/js/chrome/font.js",
"/js/render/render.js",
"/js/render/live.js",
@@ -41,6 +40,7 @@
"/js/editors/editors.js",
"/js/editors/libraries.js",
"/js/editors/library.js",
+ "/js/editors/tern.js",
"/js/editors/addons.js",
"/js/render/saved-history-preview.js",
"/js/chrome/esc.js",

0 comments on commit 6035576

Please sign in to comment.