Merge pull request #216 from MindTooth/fix_error

Fixes compile error with webpack.mix.js and app.js
This commit is contained in:
KodeStar
2018-06-17 22:33:33 +01:00
committed by GitHub
4 changed files with 151 additions and 1648 deletions

1786
public/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
{
"/js/app.js": "/js/app.js?id=58b8bcf2d5c2eee74c51",
"/css/app.css": "/css/app.css?id=e405a67622368f195d1b"
"/css/app.css": "/css/app.css?id=e405a67622368f195d1b",
"/js/app.js": "/js/app.js?id=32cbf6f4924b46ae7e05"
}

View File

@@ -1,6 +1,3 @@
import Huebee from 'huebee';
window.Huebee = Huebee;
$.when( $.ready ).then(function() {
if($('.message-container').length) {
@@ -122,7 +119,7 @@ $.when( $.ready ).then(function() {
e.preventDefault();
var apiurl = $('#create input[name=url]').val();
var override_url = $('#create input[name="config[override_url]"').val();
var override_url = $('#create input[name="config[override_url]"]').val();
if(override_url.length && override_url != '') {
apiurl = override_url;
}
@@ -134,7 +131,7 @@ $.when( $.ready ).then(function() {
data[config] = $(this).val();
});
$.post('/test_config', { data }, function(data) {
$.post('/test_config', { data: data }, function(data) {
alert(data);
});

2
webpack.mix.js vendored
View File

@@ -11,7 +11,7 @@ let mix = require('laravel-mix');
|
*/
mix.js([
mix.scripts([
//'resources/assets/js/jquery-ui.min.js',
'resources/assets/js/huebee.js',
'resources/assets/js/app.js'