Remove unnecessary double-spaces.

This commit is contained in:
Jürg Lehni 2016-02-10 16:15:35 +01:00
parent 56d5b3b323
commit 98fc51319f
6 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@
<script type="text/javascript" src="../../dist/paper-full.js"></script>
<script type="text/javascript" src="http://paperjs.org/assets/js/rhill-voronoi-core.js"></script>
<script type="text/paperscript" canvas="canvas">
var voronoi = new Voronoi();
var voronoi = new Voronoi();
var sites = generateBeeHivePoints(view.size / 200, true);
var bbox, diagram;
var oldSize = view.size;

View file

@ -21,7 +21,7 @@
};
function createWheel(center, radius, steps, lightness) {
var hUnit = 360 / steps.hue;
var hUnit = 360 / steps.hue;
for (var h = 0; h < steps.hue; h++) {
var hue = h * hUnit;
var vector = new Point({

View file

@ -76,7 +76,7 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
var user = self.navigator.userAgent.toLowerCase(),
// Detect basic platforms, only mac internally required for now.
os = (/(darwin|win|mac|linux|freebsd|sunos)/.exec(user)||[])[0],
platform = os === 'darwin' ? 'mac' : os,
platform = os === 'darwin' ? 'mac' : os,
agent = proto.agent = proto.browser = { platform: platform };
if (platform)
agent[platform] = true;

View file

@ -2339,8 +2339,8 @@ new function() { // PostScript-style drawing commands
ry = abs(radius.height),
rxSq = rx * rx,
rySq = ry * ry,
xSq = x * x,
ySq = y * y;
xSq = x * x,
ySq = y * y;
// "...ensure radii are large enough"
var factor = Math.sqrt(xSq / rxSq + ySq / rySq);
if (factor > 1) {

View file

@ -145,7 +145,7 @@ var PathIterator = Base.extend({
drawPart: function(ctx, from, to) {
var start = this._get(from),
end = this._get(to);
end = this._get(to);
for (var i = start.index, l = end.index; i <= l; i++) {
var curve = Curve.getPart(this.curves[i],
i === start.index ? start.time : 0,

View file

@ -67,7 +67,7 @@ new function() {
var childNode = exportSVG(child, options);
if (childNode) {
if (child.isClipMask()) {
var clip = SvgElement.create('clipPath');
var clip = SvgElement.create('clipPath');
clip.appendChild(childNode);
setDefinition(child, clip, 'clip');
SvgElement.set(node, {