Skip to content

Develop #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP
  • Loading branch information
RaonyMarcondes committed Sep 14, 2017
commit 608ba05729d57a87145ad06be2a07a27e767e29f
1 change: 1 addition & 0 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"fotorama": "^4.6.4",
"gulp-derequire": "^2.1.0",
"jquery": "3.1.1",
"jquery-browserify": "^1.8.1",
"jquery-validation": "^1.17.0",
"jquery.maskedinput": "^1.4.1",
"material-design-lite": "^1.3.0",
Expand Down
1 change: 0 additions & 1 deletion src/site/html/about.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,6 @@
</div>
</div>
</nav>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="bundle.min.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion src/site/html/contact.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@
</div>
</div>
</nav>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="bundle.min.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion src/site/html/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@
</div>
</div>
</nav>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="bundle.min.js"></script>
</body>
</html>
17 changes: 10 additions & 7 deletions src/site/scripts/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
'use strict';
import fotorama from 'fotorama/fotorama.js'
import plyr from 'plyr'
import noUiSlider from 'nouislider'
import material from 'material-design-lite'
import mask from 'jquery.maskedinput/src/jquery.maskedinput.js'
import validation from 'jquery-validation'

import $ from 'jquery';
import jQb from 'jquery-browserify';
import fotorama from 'fotorama/fotorama.js';
import plyr from 'plyr';
import noUiSlider from 'nouislider';
import material from 'material-design-lite';
import mask from 'jquery.maskedinput/src/jquery.maskedinput.js';
import validation from 'jquery-validation';

var Main = {
init: function(){
Expand Down Expand Up @@ -78,7 +81,7 @@ var Main = {
},

initTestimonials: function(){
var $fotoramaDiv = $('.fotorama').fotorama({
var $fotoramaDiv = jQb('.fotorama').fotorama({
autoplay: false,
shadows: false,
width: '100%',
Expand Down
5 changes: 0 additions & 5 deletions src/tasks/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@ import browserify from 'browserify';
import watchify from 'watchify';
import source from 'vinyl-source-stream';
import buffer from 'vinyl-buffer';
import browserifyGlobal from 'browserify-global-shim';
import { join } from 'path';
import derequire from 'derequire';

import browserSync from './connect';
import { libraries, server, browserify as blabla } from '../config';

const { dest } = server
const config = Object.assign({}, watchify.args, blabla);
const globalShim = browserifyGlobal.configure({
'jQuery': '$'
})
const bundler = watchify(browserify(config));
const buildBundler = browserify(config);

Expand Down
Loading