Regenerate dist

master
Dmitry Baranovskiy 2017-02-07 13:25:01 +11:00
parent 8c67c8ceaa
commit d8f7508872
2 changed files with 11 additions and 11 deletions

10
dist/snap.svg-min.js vendored

File diff suppressed because one or more lines are too long

12
dist/snap.svg.js vendored
View File

@ -1,4 +1,4 @@
// Snap.svg 0.5.0 // Snap.svg 0.5.1
// //
// Copyright (c) 2013 2017 Adobe Systems Incorporated. All rights reserved. // Copyright (c) 2013 2017 Adobe Systems Incorporated. All rights reserved.
// //
@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
// build: 2017-02-06 // build: 2017-02-07
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. // Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
// //
@ -897,12 +897,12 @@ function Snap(w, h) {
return w; return w;
} }
if (h == null) { if (h == null) {
// try { try {
w = glob.doc.querySelector(String(w)); w = glob.doc.querySelector(String(w));
return wrap(w); return wrap(w);
// } catch (e) { } catch (e) {
// return null; return null;
// } }
} }
} }
w = w == null ? "100%" : w; w = w == null ? "100%" : w;