We want to go from this:
... to that:
<script> | |
jQuery.ajax({ | |
type: 'GET', | |
url: 'http://mysite.myshopify.com/cart.json', | |
dataType: 'jsonp', | |
success: function(data) { | |
var item_count = data['item_count']; | |
var total_price = data['total_price']/100; | |
//If there are items in cart |
// Source: | |
// https://forums.adobe.com/thread/1471138 | |
function getCubicbeziers(){ | |
var curItem = app.project.activeItem; | |
var selectedLayers = curItem.selectedLayers; | |
var selectedProperties = app.project.activeItem.selectedProperties; | |
if (selectedLayers == 0){ | |
alert("Please Select at least one Layer"); | |
} else if(selectedLayers !=0){ |
<div class="row"> | |
<div class="col-md-2 col-sm-2 col-xs-2"> | |
<p><button class="btn btn-primary btn-sm" id="get-weather-btn"><span>Get Weather</span></button></p> | |
</div><!-- .col --> | |
<div class="col-md-10 col-sm-10 col-xs-10"> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Weather & Location Response</div> | |
<div class="panel-body"> | |
<p>Lat/Long: <input id="location-lat-long" type="text" class="form-control"/></p> | |
<p>Weather: <textarea id="weather" class="form-control"></textarea></p> |
Here are a few questions that will tee us up for a good conversation: | |
- Can you tell me about your project in a few sentences? | |
- What’s the timeframe? Does a certain event depend on this project launching? | |
- What are you looking for from us? Do you want us to design, build, and launch the whole site? Or do you have developers or other partners lined up and only need us for design? | |
- Have you already started on any part of the project? Do you have existing work? A new logo? Some rough designs or ideas for the site? | |
- How large is your team? What are the roles you envision on your end? | |
- How did you hear about our work? What specifically interests you about it? Any projects that you’re keen on? | |
- How much money have you set aside for this project? | |
- Are you talking to others about this project? Might we ask how many? What do you like about their work? |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
/* Build the Shopify Parameters | |
//---------------------------------------*/ | |
var action = '/contact?'; | |
action += encodeURIComponent('form_type') +'='+ encodeURIComponent('contact'); | |
action += '&'+ encodeURIComponent('utf8') +'='+ encodeURIComponent('✓'); | |
action += '&'+ encodeURIComponent('contact[email]') +'='+ encodeURIComponent(contact_email); | |
action += '&'+ encodeURIComponent('contact[body]') +'='+ encodeURIComponent(contact_body); | |
/* Submit the form | |
//---------------------------------------*/ |
#Steps to merge/close pull requests with two main branches | |
As NiFi now has a 1.0 (master) and 0.x (support) branch, pull requests (PR) must be applied to both. Here is a step-by-step guide for committers to ensure this occurs for all PRs. | |
1. Check out the latest master | |
``` $ git checkout master | |
$ git pull upstream master | |
``` | |
2. Check out the PR (example #327). This will be in `detached-HEAD` state. (Note: You may need to edit the `.git/config` file to add the `fetch` lines [below](#fetch)) |
<script>console.log({{ product | json }});</script> |