Plugin Directory

Changeset 967510


Ignore:
Timestamp:
08/18/2014 03:35:15 AM (12 years ago)
Author:
Canva
Message:

sdk.canva.com

File:
1 edited

Legend:

Unmodified
Added
Removed
  • canva/trunk/inc/media.php

    r954562 r967510  
    77class Canva_Media {
    88
    9     private $api_path = "https://api.canva.com/v1/api.js";
     9    private $sdk_path = "https://sdk.canva.com/v1/api.js";
    1010
    1111    function __construct() {
     
    186186        $context .= '<script>
    187187            (function(c,a,n){var w=c.createElement(a),s=c.getElementsByTagName(a)[0];w.src=n;
    188             s.parentNode.insertBefore(w,s);})(document,"script","'.$this->api_path.'");
     188            s.parentNode.insertBefore(w,s);})(document,"script","'.$this->sdk_path.'");
    189189            </script>';
    190190
Note: See TracChangeset for help on using the changeset viewer.