Changeset 967510
- Timestamp:
- 08/18/2014 03:35:15 AM (12 years ago)
- File:
-
- 1 edited
-
canva/trunk/inc/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
canva/trunk/inc/media.php
r954562 r967510 7 7 class Canva_Media { 8 8 9 private $ api_path = "https://api.canva.com/v1/api.js";9 private $sdk_path = "https://sdk.canva.com/v1/api.js"; 10 10 11 11 function __construct() { … … 186 186 $context .= '<script> 187 187 (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.'"); 189 189 </script>'; 190 190
Note: See TracChangeset
for help on using the changeset viewer.