mirror of
https://github.com/konvajs/konva.git
synced 2025-10-14 03:24:54 +08:00
build
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "KineticJS",
|
"name": "KineticJS",
|
||||||
"version": "5.1.9",
|
"version": "5.1.10",
|
||||||
"homepage": "http://lavrton.github.io/KineticJS/",
|
"homepage": "http://kineticjs.com/",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Eric Rowell", "Anton Lavrenov"
|
"Eric Rowell", "Anton Lavrenov"
|
||||||
],
|
],
|
||||||
|
20
kinetic.js
20
kinetic.js
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* KineticJS JavaScript Framework v5.1.9
|
* KineticJS JavaScript Framework v5.1.10
|
||||||
* http://lavrton.github.io/KineticJS/
|
* http://lavrton.github.io/KineticJS/
|
||||||
* Licensed under the MIT or GPL Version 2 licenses.
|
* Licensed under the MIT or GPL Version 2 licenses.
|
||||||
* Date: 2015-01-09
|
* Date: 2015-01-15
|
||||||
*
|
*
|
||||||
* Original work Copyright (C) 2011 - 2013 by Eric Rowell
|
* Original work Copyright (C) 2011 - 2013 by Eric Rowell
|
||||||
* Modified work Copyright 2015 Anton Lavrenov
|
* Modified work Copyright 2015 Anton Lavrenov
|
||||||
@@ -36,7 +36,7 @@ var Kinetic = {};
|
|||||||
|
|
||||||
Kinetic = {
|
Kinetic = {
|
||||||
// public
|
// public
|
||||||
version: '5.1.9',
|
version: '5.1.10',
|
||||||
|
|
||||||
// private
|
// private
|
||||||
stages: [],
|
stages: [],
|
||||||
@@ -510,13 +510,15 @@ var Kinetic = {};
|
|||||||
},
|
},
|
||||||
_addName: function(node, name) {
|
_addName: function(node, name) {
|
||||||
if(name !== undefined) {
|
if(name !== undefined) {
|
||||||
var names = name.split(/\W+/g);
|
|
||||||
|
var names = name.split(/\s/g);
|
||||||
for(var n = 0; n < names.length; n++) {
|
for(var n = 0; n < names.length; n++) {
|
||||||
if (names[n]) {
|
var subname = names[n];
|
||||||
if(this.names[names[n]] === undefined) {
|
if (subname) {
|
||||||
this.names[names[n]] = [];
|
if(this.names[subname] === undefined) {
|
||||||
|
this.names[subname] = [];
|
||||||
}
|
}
|
||||||
this.names[names[n]].push(node);
|
this.names[subname].push(node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7260,7 +7262,7 @@ var Kinetic = {};
|
|||||||
* var dragBoundFunc = node.dragBoundFunc();
|
* var dragBoundFunc = node.dragBoundFunc();
|
||||||
*
|
*
|
||||||
* // create vertical drag and drop
|
* // create vertical drag and drop
|
||||||
* node.dragBoundFunc(function(){
|
* node.dragBoundFunc(function(pos){
|
||||||
* return {
|
* return {
|
||||||
* x: this.getAbsolutePosition().x,
|
* x: this.getAbsolutePosition().x,
|
||||||
* y: pos.y
|
* y: pos.y
|
||||||
|
4
kinetic.min.js
vendored
4
kinetic.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,11 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "kinetic",
|
"name": "kinetic",
|
||||||
"version": "5.1.9",
|
"version": "5.1.10",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "1.9.2",
|
"chai": "1.9.2",
|
||||||
"connect": "3.2.0",
|
"finalhandler": "^0.3.3",
|
||||||
"grunt": "0.4.5",
|
"grunt": "0.4.5",
|
||||||
"grunt-cli": "0.1.13",
|
|
||||||
"grunt-contrib-clean": "0.6.0",
|
"grunt-contrib-clean": "0.6.0",
|
||||||
"grunt-contrib-concat": "0.5.0",
|
"grunt-contrib-concat": "0.5.0",
|
||||||
"grunt-contrib-copy": "~0.6.0",
|
"grunt-contrib-copy": "~0.6.0",
|
||||||
@@ -17,11 +16,9 @@
|
|||||||
"grunt-mocha-phantomjs": "~0.6.0",
|
"grunt-mocha-phantomjs": "~0.6.0",
|
||||||
"grunt-replace": "0.7.9",
|
"grunt-replace": "0.7.9",
|
||||||
"grunt-shell": "~1.1.1",
|
"grunt-shell": "~1.1.1",
|
||||||
"ink-docstrap": "^0.4.12",
|
|
||||||
"jsdoc": "~3.3.0-alpha9",
|
"jsdoc": "~3.3.0-alpha9",
|
||||||
"mocha": "1.21.4",
|
"mocha": "1.21.4",
|
||||||
"mocha-phantomjs": "3.5.0",
|
"serve-static": "^1.8.0"
|
||||||
"phantomjs": "1.9.10"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"canvas",
|
"canvas",
|
||||||
|
Reference in New Issue
Block a user