app.import('bower_components/trianglify/dist/trianglify.min.js');
我想使用这个脚本来修改我的主路由模板上的背景。当我尝试将Trianglify导入到我的home.js路由中时,如下所示:
import Ember from 'ember';
import Trianglify from 'Trianglify';var pattern = Tr
// Request data, generate bg with Trianglify & set up loading function.raw.githubusercontent.com/AndrewGHC/kevin-bacon-number/master/kevinBacon.json";
d3.json(url, drawGraph);
// Credit to Trianglify@ https://github.com
// Request data, generate bg with Trianglify & set up loading function.raw.githubusercontent.com/AndrewGHC/kevin-bacon-number/master/kevinBacon.json";
d3.json(url, drawGraph);
// Credit to Trianglify@ https://github.com