Menu icon Foundation

Developer

My Posts




My Comments

Dustin commented on Dustin's post 9 months

Did you restart gulp after making your changes to the gulpfile?

Dustin commented on Dustin's post 9 months

Hi Sergey,
 
I did get an answer on stackoverflow... http://stackoverflow.com/questions/40639661/babel-breaks-other-javascript-plugins-frameworks
I haven't actually tried that solution yet but I'm sure it would work. 

Dustin commented on Dustin's post about 1 year

No, I'm pretty sure it has something to do with the babel conversion. I removed all references to Foundation JS files in the config.yml file. So right now all gulp is doing is taking snap.svg.js, running babel on it, and placing it in dist/assets/js/app.js. The only thing in app.js is just the snap.svg code but converted with babel. I still get the same TypeError. So that confirms to me that its a problem related to Babel and nothing to do with the order or minification.

Dustin commented on Dustin's post about 2 years

I think I have this figured out. I guess I had to import the SASS Functions file.. http://foundation.zurb.com/sites/docs/sass-functions.html#rem-calc

Is this new for Foundation 6? Don't remember having to do this with 5.

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Dustin's post 9 months

Did you restart gulp after making your changes to the gulpfile?

You commented on Dustin's post 9 months

Hi Sergey,
 
I did get an answer on stackoverflow... http://stackoverflow.com/questions/40639661/babel-breaks-other-javascript-plugins-frameworks
I haven't actually tried that solution yet but I'm sure it would work. 

You commented on Dustin's post about 1 year

No, I'm pretty sure it has something to do with the babel conversion. I removed all references to Foundation JS files in the config.yml file. So right now all gulp is doing is taking snap.svg.js, running babel on it, and placing it in dist/assets/js/app.js. The only thing in app.js is just the snap.svg code but converted with babel. I still get the same TypeError. So that confirms to me that its a problem related to Babel and nothing to do with the order or minification.

You commented on Dustin's post about 2 years

I think I have this figured out. I guess I had to import the SASS Functions file.. http://foundation.zurb.com/sites/docs/sass-functions.html#rem-calc

Is this new for Foundation 6? Don't remember having to do this with 5.

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content